Skip to content

Commit

Permalink
Tweak to pass unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
astronomerritt committed Nov 25, 2024
1 parent fade9c7 commit 55c6e9f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ dependencies = [
"numpy",
"lsst-rsp",
"astropy",
"sbpy<=0.4.0",
"sbpy",
"matplotlib", # for plotting
"pandas",
"scipy",
Expand Down
2 changes: 1 addition & 1 deletion tests/adler/science/test_PhaseCurve.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ def test_PhaseCurve_FitModel_HG_fixed():
pc2 = pc1.InitModelSbpy(pc_fit)

# the new fitted model should have the same parameters as the input model, but G is fixed
assert pc_fit._fixed["G"] is True
assert pc_fit.fixed["G"] is True
assert pc2.H == pc1.H
assert pc2.phase_parameter_1 == pc1.phase_parameter_1
assert pc2.phase_parameter_1_err is None # the fitted model has no uncertainties when param is fixed
Expand Down

0 comments on commit 55c6e9f

Please sign in to comment.