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

Fix test failure from updated MUPS model #230

Merged
merged 1 commit into from
May 18, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Ska/engarchive/tests/test_comps.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,8 +158,8 @@ def test_mups_valve():

# Check using default master branch
dat = fetch_eng.Msid('pm1thv2t_clean', '2020:001:12:00:00', '2020:010:12:00:00')
assert len(dat.vals) == 36240 # Some bad values
assert len(dat.source) == 36240 # Filtering applies to sources
assert len(dat.vals) < 36661 # Some bad values (36661 is number of raw samples)
assert len(dat.source) == len(dat.vals) # Filtering applies to sources
assert dat.colnames == colnames
for attr in colnames:
if attr != 'bads':
Expand Down