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.1b0-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9910d8b89833514786c6fb77a2e904e2c97a697b6b0205c60159aaee2f482162 |
|
MD5 | 0bd5880471e6ce58742f0418c7523f39 |
|
BLAKE2b-256 | 9d047dac9c4b89139dcba9794e67296da04d5e36aac7683795d3206fd10b5b24 |