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

SOURCE_LIST in test_validate_content.py requires internet #117

Open
hugobuddel opened this issue Dec 24, 2024 · 0 comments
Open

SOURCE_LIST in test_validate_content.py requires internet #117

hugobuddel opened this issue Dec 24, 2024 · 0 comments

Comments

@hugobuddel
Copy link
Collaborator

scopesim_templates/tests/test_utils/test_validate_content.py requires the internet on collection, because

# Add all initialied examples of sources to be tested to this list
SOURCE_LIST = [star(filter_name="Ks", amplitude=10*u.mag),
               star(filter_name="Paranal/HAWKI.J", amplitude=10*u.Jansky),
               spiral_two_component(),
               galaxy(sed="kc96/s0"),
               galaxy3d(sed="kc96/s0", ngrid=10),
               source_from_array(arr=np.ones(shape=(100, 100)),
                                 sed="kc96/s0",
                                 amplitude=15,
                                 pixel_scale=0.2,
                                 filter_curve="g")
               ]

requires internet

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant