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

Adapt to changes in ScopeSim #179

Merged
merged 3 commits into from
Jun 30, 2024
Merged

Adapt to changes in ScopeSim #179

merged 3 commits into from
Jun 30, 2024

Conversation

teutoburg
Copy link
Contributor

This is in reaction to AstarVienna/ScopeSim#423. Apparently I already made these changes a month ago but forgot to push them. Which lead to some minor confusion now on my end, as the local fh/detectormanager branch already existed and I ended up giving it the exact same name now. Anyway, I'll merge this in once it passed, because it caused ScopeSim Data to fail today and yesterday, and the actual change has been discussed and accepted in AstarVienna/ScopeSim#423.

@teutoburg teutoburg self-assigned this Jun 30, 2024
@hugobuddel
Copy link
Collaborator

I was just going to ask you whether you had a branch ready, and apparently you even had two!

There seem to be three tests that fail: https://github.com/AstarVienna/ScopeSim_Data/actions/runs/9721771707

FAILED HAWKI/test_hawki/test_full_package_hawki.py::TestMakeOpticalTrain::test_works_seamlessly_for_hawki_package - AttributeError: 'OpticalTrain' object has no attribute 'detector_arrays'
FAILED Paranal/tests/test_paranal.py::TestParanal::test_flux_scales_with_pixel_scale[J-674] - KeyError: 'x_size_unit'
FAILED Paranal/tests/test_paranal.py::TestParanal::test_flux_scales_with_pixel_scale[H-4693] - KeyError: 'x_size_unit'
FAILED Paranal/tests/test_paranal.py::TestParanal::test_flux_scales_with_pixel_scale[Ks-1026] - KeyError: 'x_size_unit'
FAILED WFC3/test_wfc3/test_full_package_wfc3_ir.py::TestMakeOpticalTrain::test_works_seamlessly_for_wfc3_package - AttributeError: 'OpticalTrain' object has no attribute 'detector_arrays'
= 5 failed, 471 passed, 9 skipped, 63 xfailed, 63 xpassed, 2145 warnings in 642.53s (0:10:42) =

Does this also fix the Paranal test? I don't see how that test is even related, but timing wise it seems so.

@teutoburg
Copy link
Contributor Author

Does this also fix the Paranal test?

Apparently not 😑

@teutoburg
Copy link
Contributor Author

No idea how this passed previously, but whatever, seems to be fixed now...

@teutoburg teutoburg merged commit 63b8ed9 into dev_master Jun 30, 2024
8 checks passed
@teutoburg teutoburg deleted the fh/detectormanager branch June 30, 2024 16:18
@hugobuddel
Copy link
Collaborator

No idea how this passed previously, but whatever, seems to be fixed now...

That's exactly my thought.. Thanks for fixing it

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

Successfully merging this pull request may close these issues.

2 participants