Skip to main content

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:

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

MFAProblem-1.0.0b9.tar.gz (820.9 kB view hashes)

Uploaded Source

Built Distribution

MFAProblem-1.0.0b9-cp37-cp37m-win_amd64.whl (920.2 kB view hashes)

Uploaded CPython 3.7m Windows x86-64

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page