Warning: Can't synchronize with repository "(default)" (/home/git/ome.git does not appear to be a Git repository.). Look in the Trac log for more information.
Notice: In order to edit this ticket you need to be either: a Product Owner, The owner or the reporter of the ticket, or, in case of a Task not yet assigned, a team_member"

Task #4999 (closed)

Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

BUG: omero script params

Reported by: wmoore Owned by: jamoore
Priority: major Milestone: OMERO-Beta4.3
Component: Scripting Version: n.a.
Keywords: n.a. Cc:
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: 0.0d
Sprint: n.a.

Description

wjm:scripts will$ omero script replace 3 omero/export_scripts/Batch_Image_Export.py 
Using session c2fd5202-8185-47bb-8721-a20c6495d377 (root@localhost:4064). Idle timeout: 10.0 min. Current group: system
wjm:scripts will$ omero script params 3
Using session c2fd5202-8185-47bb-8721-a20c6495d377 (root@localhost:4064). Idle timeout: 10.0 min. Current group: system

id:  3
name:  Batch_Image_Export.py
version:  4.3.0
authors:  William Moore, OME Team
institutions:  University of Dundee
description:  Save multiple images as jpegs, pngs etc in a zip
file available for download as a batch export. 
See http://www.openmicroscopy.org/site/support/omero4/getting-started/tutorial/running-util-scripts
namespaces:  
stdout:  text/plain
stderr:  text/plain
inputs:
  OR_specify_T_start_AND... - Choose a specific T-index to export
    Optional: True
    Type: ::omero::RInt
    Min: 
    Max: 
    Values: 
  Export_Individual_Channels - Save individual channels as separate images
    Optional: True
    Type: ::omero::RBool
    Min: 
    Max: 
    Values: 
  OR_specify_Z_index - Choose a specific Z-index to export
    Optional: True
    Type: ::omero::RInt
    Min: 
    Max: 
    Values: 
  Choose_Z_Section - Default Z is last viewed Z for each image, OR choose Z below.
    Optional: True
    Type: ::omero::RString
    Min: 
    Max: 
    Values: Default-Z (last-viewed), ALL Z planes, Other (see below)
  Choose_T_Section - Default T is last viewed T for each image, OR choose T below.
    Optional: True
    Type: ::omero::RString
    Min: 
    Max: 
    Values: Default-T (last-viewed), ALL T planes, Other (see below)
  OR_specify_Z_start_AND... - Choose a specific Z-index to export
    Optional: True
    Type: ::omero::RInt
    Min: 
    Max: 
    Values: 
  Format - Format to save image
    Optional: True
    Type: ::omero::RString
    Min: 
    Max: 
    Values: JPEG, PNG
  Channel_Names - Names for saving individual channel images
    Optional: True
    Type: ::omero::RList
Traceback (most recent call last):
  File "/Users/will/Desktop/OMERO/dist/bin/omero", line 123, in <module>
    rv = omero.cli.argv()
  File "/Users/will/Desktop/OMERO/dist/lib/python/omero/cli.py", line 1163, in argv
    cli.invoke(args[1:])
  File "/Users/will/Desktop/OMERO/dist/lib/python/omero/cli.py", line 716, in invoke
    stop = self.onecmd(line, previous_args)
  File "/Users/will/Desktop/OMERO/dist/lib/python/omero/cli.py", line 785, in onecmd
    self.execute(line, previous_args)
  File "/Users/will/Desktop/OMERO/dist/lib/python/omero/cli.py", line 865, in execute
    args.func(args)
  File "/Users/will/Desktop/OMERO/dist/lib/python/omero/plugins/script.py", line 442, in params
    print_params("inputs:", job_params.inputs)
  File "/Users/will/Desktop/OMERO/dist/lib/python/omero/plugins/script.py", line 435, in print_params
    self.ctx.out("    Subtype: %s" % v.prototype.val[0].ice_staticId())
IndexError: list index out of range
wjm:scripts will$ 

Change History (2)

comment:1 Changed 13 years ago by jmoore <josh@…>

  • Remaining Time set to 0
  • Resolution set to fixed
  • Status changed from new to closed

(In [09fbd36d6ea56aac74b40758e2bdfe82ae09abe2/ome.git] on branch develop) Fixing index out of range on bin/omero script params (Fix #4999)

comment:2 Changed 13 years ago by jmoore <josh@…>

(In [2d4f6fbbf753af749b9daccdfc863f3b69fe6b4d/ome.git] on branch develop) Fix another NoneType issue (See #4999)

Note: See TracTickets for help on using tickets. You may also have a look at Agilo extensions to the ticket.

1.3.13-PRO © 2008-2011 Agilo Software all rights reserved (this page was served in: 0.67387 sec.)

We're Hiring!