Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adding in ACS SBC, WFC3 and ACS narrow, and JWST filters and enhancing the filter plotting routine #799

Merged
merged 24 commits into from
May 23, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
Prev Previous commit
Next Next commit
fixing codestyle
  • Loading branch information
karllark committed May 14, 2024
commit 3a37ea16d967babd29325f0df25a6a1dba1858e4
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@

from beast.config import __ROOT__
from beast.tools import get_libfiles
from beast.observationmodel.vega import Vega
from beast.observationmodel import phot


def test_filters_and_vega_consistent():
"""
Expand All @@ -29,5 +28,6 @@ def test_filters_and_vega_consistent():
otxt = f"{otxt} {cfilt}"
assert otxt == "", "filters in vega.hd5 missing from filters.hd5:" + otxt


if __name__ == "__main__": # pragma: no cover
test_filters_and_vega_consistent()
test_filters_and_vega_consistent()
3 changes: 1 addition & 2 deletions beast/tools/get_libfiles.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@ def get_libfiles(vega_filters_only=False):
Download all the library files needed by the BEAST
"""
for ckey, clib in libs.items():
if ((not vega_filters_only) or
(vega_filters_only & (ckey in ["vega", "filters"]))):
if ((not vega_filters_only) or (vega_filters_only & (ckey in ["vega", "filters"]))):
_download_rename(clib, libs_server, __ROOT__)


Expand Down