Improve consistency with biolucida images #230
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Some issue with biolucida images should now be resolved with this pull request by reducing number of calls to different biolucida server endpoints which can provide inconsistent data. This pull request also simplifies the gallery logic on biolucida images.
Ticket: https://www.wrike.com/open.htm?id=1505618603
Here is a list of some images that will be fixed by this pull request:
Broken: https://sparc.science/datasets/file/387/1?path=files/derivative/sub-292/sam-M292/WGA%20ChAT%20pC2b%20mu%20capi%20M292%2020X1.5Z%20220803_220920_37.jpx
Fixed: https://alan-wu-sparc-app.herokuapp.com/datasets/file/387/1?path=files/derivative/sub-292/sam-M292/WGA%20ChAT%20pC2b%20mu%20capi%20M292%2020X1.5Z%20220803_220920_37.jpx
Broken: https://sparc.science/datasets/file/390/1?path=files/derivative/sam-20201215-RAA/20201215_DH09292020_RAA_488autofl_Cy3PGP_647TH_5x_2020_12_15__17_03_48-001.jpx
Fixed: https://alan-wu-sparc-app.herokuapp.com/datasets/file/390/1?path=files/derivative/sam-20201215-RAA/20201215_DH09292020_RAA_488autofl_Cy3PGP_647TH_5x_2020_12_15__17_03_48-001.jpx
Broken: https://sparc.science/datasets/file/399/1?path=files/derivative/sub-01/sam-03/sam-03_S1.jp2
Fixed: https://alan-wu-sparc-app.herokuapp.com/datasets/file/399/1?path=files/derivative/sub-01/sam-03/sam-03_S1.jp2
Broken: https://sparc.science/datasets/file/402/1?path=files/derivative/sub-01/sam-01/sam-01_Converted.jpx
Fixed: https://alan-wu-sparc-app.herokuapp.com/datasets/file/402/1?path=files/derivative/sub-01/sam-01/sam-01_Converted.jpx