Material Flow Analysis Problem
Project description
Prerequisite
Git and Python installed. Preferably installed with conda and inside a virtual environment.
Installation
In a shell, in a working folder type:
git clone https://gitlab.com/libeigen/eigen.git
On linux or MAC: export EIGEN_INCLUDE=”Eigen Path”
On windoxs: set EIGEN_INCLUDE=”Eigen Path”
pip install MFAProblem
Test
To run the tests: * python -m unittest discover mfa_problem.tests.unit * python -m unittest discover mfa_problem.tests.integration
Run exemples
Get the examples: git clone https://gitlab.com/greel/mfa-problem-test.git Run the examples (modify file path): * run_mfa_problem_main_with_excel.py –input_file reconciliationpommes_poires.xlsx * run_create_empty_ter.py –input_file createpommes_poires.xlsx * run_mfa_problem_check_input.py –input_file checkorge_new_segm.xlsx
Modify options: * run_mfa_problem_main_with_excel.py –input_file reconciliationpommes_poires.xlsx –output_dir input * run_mfa_problem_main_with_excel.py –input_file reconciliationpommes_poires.xlsx –output_dir path C:usersjulie * run_create_empty_ter.py –input_file createpommes_poires.xlsx –output_dir input * run_create_empty_ter.py –input_file createpommes_poires.xlsx –output_dir C:usersjulie * run_mfa_problem_check_input.py –input_file checkorge_new_segm.xlsx –output_dir input * run_mfa_problem_check_input.py –input_file checkorge_new_segm.xlsx –output_dir path C:usersjulie
Standalone to see doc: * run_mfa_problem_main_with_excel.py * run_create_empty_ter.py * run_mfa_problem_check_input.py
Notebooks
In a shell in the same folder as above: * pip install jupyter * pip install ipyfilechooser * install_mfa_problem_notebook.py * cd ~/mfa_problem_notebook * jupyter notebook basic_workflow.ipynb
Project
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for MFAProblem-1.0.0b8-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9297322d64225a26c2d64cc9b511654a55970c5853a1c28cf0eac89c7f20ec04 |
|
MD5 | 9c96373e2a293032e59f28c64d3d5a95 |
|
BLAKE2b-256 | e9d8b39e5f383b4eec21f1b55d88118cb023b719721ff1c99efe99bc55bc271c |