-
Notifications
You must be signed in to change notification settings - Fork 17
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
Update to packaging push plus fixes #158
Closed
Closed
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…g R scripts or even running R inside the dirs
Added a couple R files to ignore to keep the repo clean when includin…
recent small fixes into develop
First attempt to initiate automated testing
try to change to node20 from node16
2nd try node.js
use v4 instead of v3 - does this fix node js 20 issue?
simplified tests using newer info from https://docs.github.com/en/[email protected]/actions/automating-builds-and-tests/building-and-testing-python
try v5 since v4 still seems to be deprecated even though the docs "seem" to say going from 3 to 4 will fix.
try py 3.9
…uggests it should?)
ignore missing variables (since `_version` is loaded via an include). to fix CI script failure with code `F821` see respec#135 (comment)
ignore ACIDPH.py because it uses a weird sci notation format AC (i.e. I think `rkal1 = 1.03d-5` should be `rkal1 = 1.03e-5` etc)
merge recent minor changes to setup.py from tim cera into develop branch
Testing framework base deployment
Run tests on 3 branches
* Moved metadata from setup.py to pyproject.toml and removed setup.py * Moved README.md to README.rst and rewrote. * Made a VERSION file to contain version number. + Allows version number to be read by pyproject.toml. + Refactored _version.py to read version number from VERSION file. * Made a publish.py to ease and document publishing to pypi.
mando used old import locations for Collections.
Test case for IWater and PWater subroutines
(feat) change to a pyproject.toml to publish to pypi
push contributing.md to develop
Fixes * Allow the HDF filename to be passed to main function instead of only io_manager instance. Having main only accept io_manager broke all ipython notebooks. * Removed "print(table)" from readUCI which I think was a debugging statement. * Removed what I hope are unnecessary "iter(llines)" statements from readUCI. IPython Notebook Fixes * Edited some of the ipython notebooks that tried to find an element time-series with an old name, for example tried to find "SURO" instead of the new name "SURO_sum". * Edited some of the ipython notebooks so that filenames were case sensitive. Deprecations * The append function is no longer available for DataFrames and changed to pd.concat form. * In pandas 3.0, to_hdf will require the "key" to be a keyword argument instead of a positional argument and made that change now to silence the deprecation message. Format * Removed trailing spaces from some files. * Fixed not a multiple of 4 spaces indentation in at least one file. * Renamed files with spaces in their names, replacing spaces with "_". Documentation * Additional edits to the README.rst. * Reshaped some docstrings into Numpy format.
I messed up the pull request so I am withdrawing and looks like I need to rebase. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I was sitting on these changes because I couldn't find solutions to two problems. So thought to put this in a pull request for review and maybe someone will be able to figure them out.
Another reason to get this out there, is for the next two weeks or so I won't be able to work on this and I didn't want to slow progress down.
"pytest" works to test the new PWATER and IWATER tests. They both pass.
THE PROBLEMS:
Right now, using python 3.10 and a "pip install ." with the code in this pull request, the "readUCI" function in tests/test05/HSP2results/CompareHSP2.ipynb will only bring in the PERLND operation. IMPLND and RCHRES are ignored. No errors. I can't figure it out.
In tests/test10/HSP2results/TEST10_hsp2_compare.ipynb, when it is calculating RQUAL I get the error: