-
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
populate command fails if the target is a plate and the CSV contains a plate column #51
Comments
I am not sure I agree the current behavior is too strict. As it stands, Supporting the scenario above would require making a decision about whether these columns should be ignored (treated as standard columns) or checked. Looking at a slightly more complex example than the one above, what should be the behavior if a plate was annotated with as CSV as follows?
In that case, should |
I would suggest throw an error complaining about non-uniqueness of the well names. I guess this is already what the same plugin does if I try to pass a CSV on a Dataset with non-unique image names in it ? See below:
The confusion here is caused by the apparent discrepancy between the behaviour of this plugin when run on P/D/I as opposed to when run on SPW. The discrepancy starts with the constraint on the SPW case where the Edit: Maybe to try to specify the behaviour in the highlighted case more precisely:
If the target object is a Plate, then the Plate column should be ignored and the Well column should be insisted on having unique names. If the target object is a Screen, then the Plate column should be taken into account and the Well name uniqueness is not to be insisted upon. |
I absolutely agree with @pwalczysko since this error is pretty annoying for me as a user. The "plate" column should be just ignored when populating to a plate and not throw the above mentioned error. |
Hello, I experienced the same issue as @pwalczysko that I cannot process a .csv with a
I have no idea where the "null table" exception might come from. Am I missing something? |
@JensWendt I don't know what's wrong with that CSV. It looks OK. I just did a little test with the first half of your csv (editing the Well names to fit a smaller plate I have for testing) and it worked OK (using Sorry I can't be more help, but I don't think there's anything wrong with the CSV.
|
Heyo @will-moore , Again, thank you for the incredible quick answer. Without knowing the actual structure and code behind it all, my guess from the log would be: Kind regards Jens |
I wonder if pytables is installed (and working) on the server side? Do you know if populate metadata is working with any data now? Are there existing tables on the server that display OK (as in the screenshot above, when launched from the eye icon in Attachments) or data shown in Tables tab? |
@will-moore you were spot on. |
When the following command is ueed with a csv as specified below, it ends in error
The same command where the target object is a Screen containing the above Plate is successful.
Suggestion: Make the plugin work in both situations, the present behaviour is too strict.
cc @will-moore @sbesson
The used CSV
The text was updated successfully, but these errors were encountered: