Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
abhisrkckl committed Nov 13, 2024
1 parent 3c91b51 commit 4cab923
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/pint/models/chromatic_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -705,7 +705,6 @@ def print_par(self, format="pint"):
CMX_mapping = self.get_prefix_mapping_component("CMX_")
CMXR1_mapping = self.get_prefix_mapping_component("CMXR1_")
CMXR2_mapping = self.get_prefix_mapping_component("CMXR2_")
result += getattr(self, "CMX").as_parfile_line(format=format)
sorted_list = sorted(CMX_mapping.keys())
for ii in sorted_list:
result += getattr(self, CMX_mapping[ii]).as_parfile_line(format=format)
Expand Down
2 changes: 2 additions & 0 deletions tests/test_cmx.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,3 +75,5 @@ def test_cmx(model_and_toas):
)

assert ftr.resids.chi2_reduced < 1.6

assert "CMX_0001" in str(ftr.model)

0 comments on commit 4cab923

Please sign in to comment.