Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion scopesim_templates/stellar/stars.py
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@
for spt in cat_spec_types]

else:
spectra = [Spextrum(library + "/" + spec.lower()).scale_to_magnitude(
spectra = [Spextrum(library + "/" + spec).scale_to_magnitude(

Check warning on line 247 in scopesim_templates/stellar/stars.py

View check run for this annotation

Codecov / codecov/patch

scopesim_templates/stellar/stars.py#L247

Added line #L247 was not covered by tests
amp, filter_curve=filter_name)
for spec, amp in zip(spec_types, amplitudes)]
# TODO: actually use weights here instead of spectra scaling to avoid
Expand Down
Loading