Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
karllark committed Nov 24, 2024
1 parent 0e76a31 commit bc6e1bf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dust_extinction/shapes.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ def _curve_F99_method(

# FM90 model and values
if fm90_version == "B3":
fm90_model = FM90(C1=C1, C2=C2, B3=bump_param, C4=C4, xo=xo, gamma=gamma)
fm90_model = FM90_B3(C1=C1, C2=C2, B3=bump_param, C4=C4, xo=xo, gamma=gamma)

Check warning on line 100 in dust_extinction/shapes.py

View check run for this annotation

Codecov / codecov/patch

dust_extinction/shapes.py#L100

Added line #L100 was not covered by tests
else:
fm90_model = FM90(C1=C1, C2=C2, C3=bump_param, C4=C4, xo=xo, gamma=gamma)
# evaluate model and get results in A(x)/A(V)
Expand Down
2 changes: 1 addition & 1 deletion dust_extinction/tests/test_corvals.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
"atol": 4e-3,
# from Fitzpatrick (1999) Table 3
# keep optical from Fitzpatrick (1999),
# replce NIR with Fitzpatrick (2004) function for Rv=3.1:
# replace NIR with Fitzpatrick (2004) function for Rv=3.1:
# (0.63*3.1 - 0.84)*x**1.84
},
M14: {
Expand Down

0 comments on commit bc6e1bf

Please sign in to comment.