Skip to content

Commit

Permalink
test: update correct number of columns test
Browse files Browse the repository at this point in the history
Now prior columns are named 'prior_bias', 'prior_sq_err'
  • Loading branch information
hkershaw-brown committed Dec 23, 2024
1 parent a62ce63 commit cb9ac3b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_obs_sequence.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ def test_read1d(self, obs_seq_file_path):
obj = obsq.obs_sequence(obs_seq_file_path)
assert obj.loc_mod == 'loc1d'
assert len(obj.df) == 40 # 40 obs in the file
assert obj.df.columns.str.contains('posterior').sum() == 22 + 2 # members + sq_err + bias
assert obj.df.columns.str.contains('prior').sum() == 22
assert obj.df.columns.str.contains('posterior').sum() == 24 # 20 members + mean + spread + sq_err + bias
assert obj.df.columns.str.contains('prior').sum() == 24



Expand Down

0 comments on commit cb9ac3b

Please sign in to comment.