Skip to content

Commit

Permalink
Merge pull request #52 from ichrys03/msxdev
Browse files Browse the repository at this point in the history
added getMSXComputedQualityNode, getMSXComputedQualitytLink, setMSXPatternMatrix, updated readme #47
  • Loading branch information
Mariosmsk authored Jun 20, 2024
2 parents fbf2d82 + bbeb12c commit 1f840d2
Show file tree
Hide file tree
Showing 23 changed files with 9,324 additions and 143 deletions.
16 changes: 10 additions & 6 deletions .github/workflows/build_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,20 +11,25 @@ jobs:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v4

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install flake8 pytest
pip install -r requirements.txt
- name: Install libomp on macOS
- name: Install dependencies on macOS
if: runner.os == 'macOS'
run: brew install libomp
run: |
brew update
brew install libomp
brew install gcc
brew upgrade
- name: Lint with flake8
run: |
Expand All @@ -34,5 +39,4 @@ jobs:
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
- name: Test with pytest
run: |
pytest -v
run: pytest -v
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -536,6 +536,7 @@ If you want to contribute, please check out our [Code of Conduct](https://github
|getMSXComputedQualitySpecie|Retrieves the quality values for specific specie (e.g getMSXComputedQualitySpecie('CL2'))|
|getMSXComputedLinkQualitySpecie|Returns the link quality for specific specie|
|getMSXComputedNodeQualitySpecie|Returns the node quality for specific specie|
|getMSXComputedQualityNode|Retrieves the concentration of a chemical species at a specific node of the network at the current simulation time step.|
|stepMSXQualityAnalysisTimeLeft|Advances the water quality solution through a single water quality time step when performing a step-wise simulation|
|saveMSXFile|Saves the data associated with the current MSX project into a new MSX input file|
|saveMSXQualityFile|Saves water quality results computed for each node, link and reporting time period to a named binary file|
Expand Down
Loading

0 comments on commit 1f840d2

Please sign in to comment.