| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
|
Note that only the morphapp.py file is changed. All other changes are as this is built off PR #231. The tests will fail if the changes in #231 are not included as small numerical differences occur. All numerical differences are less than the refiner tolerance of 1e-08. The files changed should go away once #231 is merged. |
Sorry, something went wrong.
Codecov ReportAll modified and coverable lines are covered by tests ✅ Additional details and impacted files @@ Coverage Diff @@
## main #232 +/- ##
=======================================
Coverage 99.08% 99.08%
=======================================
Files 21 21
Lines 1087 1087
=======================================
Hits 1077 1077
Misses 10 10
|
Sorry, something went wrong.
There was a problem hiding this comment.
I will merge this so you can move ahead, but please see comment and make an issue. Also, in common with things like np.all_cloae etc, could we drop the "are" from the name and make it more like files_all_close or something like that. We could also borrow the signature and pass through tolerances. Again, this can be done later, after beam time... Just make an issue now so we don't forget
Sorry, something went wrong.
|
|
||
|
|
||
| def are_files_same(file1, file2): | ||
| """Assert that two files have (approximately) the same numerical |
There was a problem hiding this comment.
This looks as if it is a copy paste of the one in the other PR. Can we put it into conftest. Py and make it available to all tests as a fixture?
Sorry, something went wrong.
There was a problem hiding this comment.
It is from the other PR. After merging with main, this change is no longer present.
Sorry, something went wrong.
There was a problem hiding this comment.
This is only needed in the io tests as that is the only test creating files. As such, no need to put into contest.
Sorry, something went wrong.
There was a problem hiding this comment.
ah, ok
Sorry, something went wrong.
|
Created #233 just in case we want to revisit names. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
See news (config_order.rst) comment for why this is done. Preparation for morphfuncx and morphfuncxy.