Skip to content

Commit

Permalink
Update download HELP with Fileset support
Browse files Browse the repository at this point in the history
  • Loading branch information
will-moore committed Aug 19, 2021
1 parent eeed465 commit cd60df9
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions src/omero/plugins/download.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
Plugin read by omero.cli.Cli during initialization. The method(s)
defined here will be added to the Cli class for later use.
Copyright 2007 - 2014 Glencoe Software, Inc. All rights reserved.
Copyright 2007 - 2021 Glencoe Software, Inc. All rights reserved.
Use is subject to license terms supplied in LICENSE.txt
"""
Expand All @@ -20,8 +20,8 @@
from omero.rtypes import unwrap
from omero.gateway import BlitzGateway

HELP = """Download the given file with a specified ID to a target file with
a specified filename.
HELP = """Download a File, Image or Fileset with a specified ID to a target file
or directory.
Examples:
Expand All @@ -33,9 +33,11 @@
# Download the OriginalFile linked to FileAnnotation 20 to local_file
omero download FileAnnotation:20 local_file
# Download the OriginalFile linked to Image 5
# Works only with single files imported with OMERO 5.0.0 and above
omero download Image:5 original_image
# Download the OriginalFiles linked to Image 5 into a directory
# The Files will be named as they are in OMERO's Managed repository
omero download Image:5 output_dir
# Download the OriginalFiles linked to Fileset 6 into a directory
omero download Fileset:6 output_dir
"""


Expand Down

0 comments on commit cd60df9

Please sign in to comment.