Skip to content

Commit

Permalink
Fixes deprecation and possibly astropy units issue
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewfullard committed Sep 9, 2024
1 parent 378dd94 commit 273654a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion carsus/io/cmfgen/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def load(self, fname):
self.base = df
self.header = header
# Re-calculate Lam(A) values
self.base["Lam(A)"] = self.calc_Lam_A()
self.base["Lam(A)"] = self.calc_Lam_A().value

def calc_Lam_A(self):
"""
Expand Down
1 change: 0 additions & 1 deletion carsus/io/tests/test_cmfgen.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
data_dir = os.path.join(os.path.dirname(__file__), "data")


@pytest.mark.with_refdata
@pytest.fixture()
def si1_reader():
return CMFGENReader.from_config(
Expand Down

0 comments on commit 273654a

Please sign in to comment.