Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding requirements.txt file to support pip venv #54

Closed
wants to merge 8 commits into from

Commits on Oct 3, 2023

  1. Adding requirements.txt file to support pip venv

    Adding a requirements.txt file to support use outside of conda environment.  Users should build a venv, activate it, and then use `pip install -r requirements.txt` to install dependencies in the venv.
    jeff-ws committed Oct 3, 2023
    Configuration menu
    Copy the full SHA
    ed4245f View commit details
    Browse the repository at this point in the history
  2. Reorganize project Structure (non-functional commit)

    This commit establishes the temoa package within the temoa folder for purposes of segregating the temoa model code from the testing code and establishing a top-level package beneath the project top level.  All project source code is moved to the temoa package.  Also added output_files folder to catch output and tests folder for testing
    jeff-ws committed Oct 3, 2023
    Configuration menu
    Copy the full SHA
    f284820 View commit details
    Browse the repository at this point in the history

Commits on Oct 5, 2023

  1. Baseline Reformatting

    No code changes, just reformatting files in the main temoa_model pkg.  Including:  Transitioning to spaces instead of tabs, using 4 spaces (mixed before), cleaned up arbritrary spacing around arguments and parens, etc.  Tried to preserve some readability formatting esp. in temoa_config.py to line up columnar things.  Re-tweaks for readability for later.
    jeff-ws committed Oct 5, 2023
    Configuration menu
    Copy the full SHA
    d162254 View commit details
    Browse the repository at this point in the history
  2. Clean up unresolved references and change entry point

    Cleaned up many unresolved references in the temoa_model pkg and the data_processing pkg.  Still work to do on cleaning up imports.  Also removed the project entry point in the temoa_model.py file and the __main__.py file and added an entry point at project top level.
    jeff-ws committed Oct 5, 2023
    Configuration menu
    Copy the full SHA
    6afd06a View commit details
    Browse the repository at this point in the history
  3. Running config_sample from new run structure

    Cleaned up some of the file I/O references to enable basic runs on config_sample with perfect foresight only.  The config_sample file is modified to point output to a user-supplied copy of Utopia in the output files to prevent repeated mods to the data sources.
    
    simple run can be executed from top-level project folder with:
    python main.py --config=temoa/temoa_model/config_sample
    jeff-ws committed Oct 5, 2023
    Configuration menu
    Copy the full SHA
    093978c View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    8cd5686 View commit details
    Browse the repository at this point in the history
  5. Additional Reformatting

    jeff-ws committed Oct 5, 2023
    Configuration menu
    Copy the full SHA
    c5f7679 View commit details
    Browse the repository at this point in the history
  6. Adding the testing folder and some basic tests

    The tests folder contains files with the prefix "test_" which contain unit tests.  The remaining folders include config files utilized by the tests and sequestered database files to be used by the tests.
    jeff-ws committed Oct 5, 2023
    Configuration menu
    Copy the full SHA
    ce3b998 View commit details
    Browse the repository at this point in the history