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

Allow -seg in view_image filename #991

Merged
merged 2 commits into from
Jul 20, 2022

Conversation

bhilbert4
Copy link
Collaborator

This PR modifies the URL pattern for the image view pages so that segmented files can be shown. (e.g. http://jwql.stsci.edu/NIRCam/jw01442001001_04103_00001-seg004_nrca3/)

Currently these files cannot be viewed due to the hyphen in the name.

Resolves #979

@bhilbert4 bhilbert4 self-assigned this Jul 18, 2022
@bhilbert4 bhilbert4 changed the title Allow -seg in view_image filename [WIP]: Allow -seg in view_image filename Jul 18, 2022
@bhilbert4
Copy link
Collaborator Author

I'm cautiously optimistic that this is all we need. Still need to test on the dev or test server when it's free.

@bhilbert4 bhilbert4 added this to In progress in v1.2.0 via automation Jul 19, 2022
@bhilbert4 bhilbert4 changed the title [WIP]: Allow -seg in view_image filename Allow -seg in view_image filename Jul 19, 2022
@bhilbert4
Copy link
Collaborator Author

NIRCam 1442 looks good on the test server when using this fix. And a program with non-segmented files looks ok too. @mfixstsci I think this is ready for review.

Copy link
Collaborator

@mfixstsci mfixstsci left a comment

Choose a reason for hiding this comment

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

Thanks @bhilbert4 good catch!

@mfixstsci mfixstsci merged commit f6d4943 into spacetelescope:develop Jul 20, 2022
v1.2.0 automation moved this from In progress to Done Jul 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

Image view for segmented files is not working
2 participants