Skip to content
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

Script GUI file upload #128

Merged
merged 1 commit into from
Feb 18, 2020
Merged

Conversation

will-moore
Copy link
Member

Ported from ome/openmicroscopy#6096

See ome/openmicroscopy#6095

Currently, some scripts that require a File use the convention of a parameter named File_Annotation to allow the user to choose a previously created FileAnnotation ID.

This PR adds a File chooser input to parameter named File_Annotation which allows users to pick a local file from the Run-Script dialog in webclient. This will be used to create a File Annotation in OMERO and the ID will be passed to the File_Annotation script parameter.

To test:

Screen Shot 2019-08-02 at 23 53 57

  • This will allow you to pick a local File to upload
  • When the script is run, a new FileAnnotation is created in OMERO (not linked to anything) and the ID is passed to the File_Annotation script parameter (so the script should work as expected)

@will-moore will-moore changed the title Add File input for script 'File Annotation' params script GUI file upload Feb 14, 2020
@pwalczysko
Copy link
Member

This works as described in the header of this PR.

Ready to merge FMPOV

@jburel jburel merged commit f56a796 into ome:master Feb 18, 2020
@will-moore will-moore deleted the script_gui_file_upload branch February 26, 2020 09:24
@jburel jburel changed the title script GUI file upload Script GUI file upload Feb 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants