Closed philbull closed 3 years ago
See #306 and #308
Note that the behaviour of hera_pspec.pspecdata.trim_dset_lsts()
has now changed; a ValueError
is now raised if the datasets aren't aligned.
Now addresses #280 and #288
Check out this pull request on
See visual diffs & provide feedback on Jupyter Notebooks.
Powered by ReviewNB
@philbull @saurabh-astro update on the problem with the unittest for trim_dset_lsts
:
turns out there was a bug in the old test: 50 is the right number, but it was being checked as assert_true(Ntimes, 52)
, which returns True b/c both are non-zero, not because they are equal.
@philbull lets wait to merge until @saurabh-astro lets us know if he has any further comments on this--also macos 3.8 seems to be failing due to an h5py import error--seems like it's github's fault though, not ours?
@philbull lets wait to merge until @saurabh-astro lets us know if he has any further comments on this--also macos 3.8 seems to be failing due to an h5py import error--seems like it's github's fault though, not ours?
Great, thanks Nick! I have gone through rest of the changes, and it all seems fine to me. Good to go @philbull!
Converts the existing unit tests to use pytest instead of nosetests.