-
Notifications
You must be signed in to change notification settings - Fork 36
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
cell_locations: Writing output to S3 was failing; fixed this #271
Conversation
Codecov Report
@@ Coverage Diff @@
## master #271 +/- ##
=======================================
Coverage 95.07% 95.07%
=======================================
Files 57 57
Lines 3044 3044
=======================================
Hits 2894 2894
Misses 150 150
Flags with carried forward coverage won't be shown. Click here to find out more.
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for this contribution @shntnu ! I'd like to request changes on this PR mostly with concerns to exception handling and general discussion.
Some additional items besides those mentioned in the comments:
- I'd ask that you please update the PR description with a root cause or need for the PR. It looks like the description still include the template content. If appropriate, please also update the PR title to the focus area as well. Doing this will help record what changes are occurring and why.
- Given that this occurred partially because of a lack of unit/functional tests, would it make sense to write a quick test to make sure we cover this scenario? Even a small test might provide enough coverage to incrementally begin addressing any unforeseen gaps.
What do you think? Interested in your thoughts - thank you in advance!
Done
Unfortunately, I don't have the expertise to write such a test because it involves the use of moto (#265) I did create a stub for this here (see Details) #257 (comment) but I didn't have the expertise to push this further. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @shntnu and apologies for my delay, this LGTM!
I do think we should prioritize testing to make sure work like this is covered by some form of testing in the future by addressing the issue you created. Just the same, I understand the need to move forward to balance progress + testing assurance.
@gwaybio - do you have any thoughts here as well?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! @shntnu - ok to merge?
actually, @shntnu - feel free to merge when you're happy (I assume you have write access to this repo). |
@shntnu - doing some pycytominer cleanup. Is this good to merge? |
Oops, sorry. All set! |
modified from EmbeddedArtistry
Description
The code failed when the output was on S3; I needed to fix a bug that checks for the file's existence on S3.
What is the nature of your change?
Checklist
Please ensure that all boxes are checked before indicating that a pull request is ready for review.
moto
#265