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.0b9-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1835a7d56f78ac7bd71372871b15624f31790e8bf33b6b737a16c6b7f7330014 |
|
MD5 | ab5899d8dddd085e4accf88875941bb4 |
|
BLAKE2b-256 | 39b9e9eb3d9f978f5866c441ef90cb0fde1a26cd9b5fa84bcf54bb8b0ff4dcb5 |