Skip to content

Commit

Permalink
Removed SED from plot_SEDS test
Browse files Browse the repository at this point in the history
  • Loading branch information
hover2pi committed Dec 21, 2020
1 parent 64aaa15 commit 71011e2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 1 addition & 4 deletions sedkit/tests/test_catalog.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,12 +137,9 @@ def test_plot_SEDs(self):
# Make the catalog
cat = copy.copy(self.cat)
cat.add_SED(self.vega)
v1 = copy.copy(self.vega)
v1.name = 'Sirius'
cat.add_SED(v1)

# Plot the SEDs
cat.plot_SEDs(['Vega', 'Sirius'])
cat.plot_SEDs(['Vega'])
cat.plot_SEDs('*')

def test_save_and_load(self):
Expand Down
2 changes: 1 addition & 1 deletion sedkit/tests/test_utilities.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def test_convert_mag():
assert corr < mag

# Vega to AB
corr, corr_unc = u.convert_mag('2MASS.J', mag, mag_unc, old='AB', new='Vega')
corr, corr_unc = u.convert_mag('2MASS.J', mag, mag_unc, old='Vega', new='AB')
assert corr > mag

# Other
Expand Down

0 comments on commit 71011e2

Please sign in to comment.