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

azs - mostly updates related to water network damage simulation and working with custom DL models #37

Merged
merged 12 commits into from
Mar 28, 2024

Conversation

zsarnoczay
Copy link
Collaborator

No description provided.

zsarnoczay and others added 12 commits February 27, 2024 23:58
This commit adds a workflow file to publish the package to PyPI
testing whenever a release is made. If succesful, we will change it to
publish to the mainline PyPI.
So that it gets uploaded to PyPI instead of TestPyPI.
- Moved `parse_units` and `dict_raise_on_duplicates` from `file_io` to
  `base` module to avoid cicrular dependency between `base` and `file_io`.
- Implemented `convert_units` function in `base` for robust unit
  conversion across different categories, supporting scalar, list, and
  np.ndarray types.
- Updated `assessment.py` to use `parse_units` from `base` instead of
  `file_io`.
- Added unit tests in `test_base.py` for the new function
- Moved unit parsing tests and associated files from
  `test_file_io.py`, aligning with the refactor.
- Cleaned up import statements and unnecessary code in `file_io.py`
  following the refactor.
… SimCenter simulations while we extend the DLML with the final version of these files
@codecov-commenter
Copy link

Codecov Report

Attention: Patch coverage is 97.26027% with 2 lines in your changes are missing coverage. Please review.

Project coverage is 93.36%. Comparing base (f94d402) to head (1e0906a).
Report is 5 commits behind head on master.

Files Patch % Lines
pelicun/base.py 97.14% 2 Missing ⚠️

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##           master      #37      +/-   ##
==========================================
+ Coverage   93.35%   93.36%   +0.01%     
==========================================
  Files           6        6              
  Lines        2393     2428      +35     
==========================================
+ Hits         2234     2267      +33     
- Misses        159      161       +2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@zsarnoczay zsarnoczay merged commit b4b807b into NHERI-SimCenter:master Mar 28, 2024
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants