Skip to content

Commit

Permalink
making code simpler
Browse files Browse the repository at this point in the history
  • Loading branch information
karllark committed Feb 16, 2024
1 parent 4925595 commit 42a2068
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions beast/tools/make_libfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -678,10 +678,10 @@ def make_vega_libfile():
lum = []
mag = []

Check warning on line 679 in beast/tools/make_libfile.py

View check run for this annotation

Codecov / codecov/patch

beast/tools/make_libfile.py#L676-L679

Added lines #L676 - L679 were not covered by tests

for i in range(len(flist)):
fname.append(flist[i].name)
cwave.append(flist[i].cl)
flux = flist[i].getFlux(vl, vf)
for cfilt in flist:
fname.append(cfilt.name)
cwave.append(cfilt.cl)
flux = cfilt.getFlux(vl, vf)
lum.append(flux)
mag.append(-2.5 * np.log10(flux))

Check warning on line 686 in beast/tools/make_libfile.py

View check run for this annotation

Codecov / codecov/patch

beast/tools/make_libfile.py#L681-L686

Added lines #L681 - L686 were not covered by tests

Expand Down

0 comments on commit 42a2068

Please sign in to comment.