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

Catch specific exceptions in Herschel_get_spec #294

Merged
merged 2 commits into from
Aug 2, 2024
Merged

Conversation

troyraen
Copy link
Contributor

Closes #282

I added the specific exceptions I ran into so this is no longer a bare except.

@troyraen troyraen requested a review from jkrick July 31, 2024 01:25
Copy link
Contributor

@jkrick jkrick left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This works for me in the sense that the Herschel module runs to completion. Thanks for looking into it.

Since I ran it just now, can you please edit the main notebook Herschel cell:
"#This search is fully functional, but is commented out because it is very slow." to "#This search is fully functional, but is commented out because it takes ~4 hours to run to completion" I ran it on the ISP, so can't really say on Fornax, or specify the server, but I am imagining they will be similar since the data source is the same. We can update this in the future if anyone runs it on Fornax.

@troyraen troyraen merged commit f16c102 into main Aug 2, 2024
3 checks passed
@troyraen troyraen deleted the raen/patch/try-except branch August 2, 2024 08:07
github-actions bot pushed a commit that referenced this pull request Aug 2, 2024
* catch specific exceptions

* update comment from jkrick review f16c102
@troyraen troyraen added the use case: spectroscopy Spectroscopy use case label Sep 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
use case: spectroscopy Spectroscopy use case
Projects
None yet
Development

Successfully merging this pull request may close these issues.

fix open 'try except' call in herschel_get_spec function
2 participants