create new HDF5 close() method and call at the end of run(). #208
+55
−43
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.
To my mind, this is NOT OK to merge @PaulDudaRESPEC -- it seems to function, and the old commits still fail the more complex tests, so I think we should wait to sort out the tests with value errors. This solves some of the problems that seemed to just appear over the last week traced to pandas. It:
close()method to the custom localHDF5classrun()function to insure that the hdf5 is handled cleanly -- will at last eliminate a warning.pytesterror:ValueError: The file '/opt/model/HSPsquared/tests/test10/HSPFresults/test10.h5' is already opened, but not in read-only mode (as requested).inpandas >= 3.0.0utilities.pyandmain.pyfrom a brief comment to trigger git #207What remains unsolved are the (follow these at #209 ):
python < 3.11pandas.errors.IndexingError: Unalignable boolean Series provided as indexer (index of the boolean Series and of the indexed object do not match)These arose when retesting runs that passed testing a week or more ago, so, likely reflect the need for a more restrictive dependency versions, or, adaptation of existing model (or maybe test_regression) code to meet new requirements in pandas and/or other dependencies.