Populate metadata#107
Conversation
|
cc @emilroz I've copied your script here and made a few changes (see above). |
|
Re: #107 (comment) Clarified with @will-moore that the duplication came from the fact that there was another ``Bulk_annotation` attachment on the containing Screen left from previous testing. When this attachment was deleted, the duplication vanished. This poses an important question of |
|
I think a hint about how do I construct the csv in case it is attached to a screen would be very useful in the description of the script (see above). |
|
@will-moore the script looks good to me. |
|
@emilroz : Agree, an example file is better. How shouild the user find such a file ? |
|
Will a link to a file be clickable in web & insight? If so, I'd think a link to a sample image (perhap a fake?) which includes a CSV with a readme on how to install it would be useful? cc: @sbesson @simleo @manics -- This would also be a first candidate for https://trello.com/c/9aEYto1f/217-table-import-prototype |
|
@joshmoore Apologies for the delay. Unfortunately web scripts dialog doesn't make links clickable at the moment. However, I think a non-clickable link to proper docs and example csv is still the best option. |
|
@will-moore @joshmoore - what were you thinking in terms of User Help documentation? Easy enough to have an example doc in the resources part of the User Help - that will give an immutable URL for downloads and whatever/wherever there is something in the actual User Help. |
|
I'll leave you guys to discuss what's doable for 5.2.2. We can capture any extras in a card for later. NB: @will-moore, sorry for having missed it earlier, could you possibly rebase this onto of joshmoore@47cd2ff (i.e. replacing your 7298da8 with commits from @emilroz so that we have the history. (I've included joshmoore@a0dd392 on top to do the rename unless you want to do that yourself) |
|
@will-moore @joshmoore |
|
The script does not follow the approach used for ids in other scripts i.e. ids as |
|
Has this been tested with Insight? |
|
Actually not running in web now. |
|
@emilroz: are you okay if we change the type for IDs i.e. list instead of String. |
|
@gusferguson: insight PR is ome/openmicroscopy#4487. I pushed a fix this am (not included in the build) |
|
@jburel +1 |
|
Updated the URL in the description as discussed. To test, select multiple Screens or Plates. Should see warning in Info when complete. |
|
Message displayed if multiple ids selected: for screen |
|
Log in as user-4, screen |
|
Warning introduced in joshmoore/openmicroscopy@00d89c6 |
|
The script works as expected now. I will retest of insight w/o ome/openmicroscopy#4487 included (changes no longer required) |
|
@jburel I'm fine with changing the parameter type. Edit: added |
|
@emilroz: Thanks, that's the best option. I have closed my insight PR. |
Users can select File Annotations in the UI, but don't have easy access to File IDs
17b4f0a to
c0058bd
Compare
|
@joshmoore That's the rebasing done that you asked for in #107 (comment), including the renaming commit. I checked that the script is unchanged from before, (we just have the commit history) so it doesn't need retesting. |
|
Tested w/o insight changes included, it works fine. |
|
Note: without the |
Follow-on to omegh-107 with a renaming based on the standard ome/scripts scheme.
|
Sorry @joshmoore I had cherry-picked your move commit locally but hadn't pushed it. Done now. |
|
I'll open a new PR with the move commit. |
|
@will-moore: A PR has now been opened. |
|
OK - e-mail delay is annoying! Closed #110 |
|
Sorry, @will-moore. I should have commented here (I had even thought about it!) |





As discussed ome/openmicroscopy#4455 (comment) Now that we support visualisation of bulk annotations in web (and Insight via tooltip) we want to make it easier for users to attach bulk annotations.
This PR copies the Glencoe script from https://github.com/glencoesoftware/omero-user-scripts/blob/master/util_scripts/Populate_Metadata.py and updates it a bit:
To test, use Plate and csv files described https://github.com/openmicroscopy/ome-internal/blob/master/testing_scenarios/BulkAnnotations.txt