bugfix/pass-series-index-in-biofile-init#401
Conversation
Codecov Report
@@ Coverage Diff @@
## main #401 +/- ##
==========================================
- Coverage 94.66% 94.57% -0.09%
==========================================
Files 45 45
Lines 3728 3741 +13
==========================================
+ Hits 3529 3538 +9
- Misses 199 203 +4
Continue to review full report at Codecov.
|
AetherUnbound
left a comment
There was a problem hiding this comment.
Ah drat! Nice deprecation warning, this looks good 👍🏼
|
@tlambert03 @AetherUnbound @toloudis this PR is ready for review! The two bugs were, the |
|
Also, lol, I have no idea what is going on with credentials @tlambert03 this PR works and your PR doesn't... I wonder if GitHub changed GH Actions secrets access permissions... |
Oh, I should have realized 😅 If @tlambert03 is submitting a PR from a fork, then the GH actions don't have the same permissions unfortunately. See: https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/enabling-features-for-your-repository/managing-github-actions-settings-for-a-repository and https://github.community/t/how-to-use-github-token-for-prs-from-forks/16818 When we encountered this issue, we set up a separate |
When we encountered this issue, we set up a separate ACCESS_TOKEN in the repositories that would allow the actions to run successfully I believe: WordPress/openverse#199 We already have very permissive action / action secret usage. Plus talley has already PRed to this repo numerous times... 🤷♀️ 🤷♀️ |
|
Oof, okay yea I'm not sure then 😓 |

Description
Somehow slipped through multiple layers of testing and review. Theset_scenefunction in theBioformatsReaderwas namedset_series(which makes sense from the Bioformats API but not consistent with AICSImageIO standard.Above was incorrect. This PR now actually fixes this. The only problem was that the current scene index of the Reader wasn't being passed down to the
BioFileobject init during reads.It also adds a parameter to our multi scene checking function that will check if the data between the two comparison scenes is different or not. By default, this check does not run so as to not make us have to go back and update all of our old tests but potentially useful in the future.
Note: These changes should not be merged until #397 is merged
Pull request recommendations:
Resolves #400
Thanks for contributing!