-
Notifications
You must be signed in to change notification settings - Fork 13
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
Only perform header detection when --file is specified #80
Conversation
For other populate contexts (bulkmap, deletemap), this parsing is irrelevant and should be skipped
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 opening the PR Seb. Changes are necessary and probably overlooked/missed in the previous PR. Tested and, as detailed in the description, this PR fixes ValueError: Invalid file path or buffer object type: <class 'NoneType'>
exception as a result of running the bulk annotation workflow.
I agree with the including this in a 0.11.2 patch release.
Confirming the error with 0.11.2, see below
|
With this PR, I get
and indeed, the MapAnnotations are created as expected: LGTM |
Pushed another commit with the changelog entry if we are happy with an immediate 0.11.2 @jburel @joshmoore |
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.
sorry for dropping that one.
Looks good
@jburel do you have any timeline for making a release of this plugin (and/or would you like me to do it)? I think it would be valuable to upgrade the version of the plugin deployed on |
@sbesson your suggestion to deploy the plugin on |
This PR attempts to fix a regression introduced as part of #67 which was primarily tested with the
omero metadata populate
commandTo reproduce, run a workflow composed of a table population followed by a bulk annotation -> map annotation population, for instance as described with https://omero-guides.readthedocs.io/en/latest/upload/docs/metadata.html.
With the current release of
omero-metadata 0.11.1
, the second step should fail with and error of typeWith this PR included, both population steps should successfully complete.
Given the regression, I would propose to schedule this in an upcoming patch release
0.11.2
(possibly together with #79)