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 #4031 (closed)

Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

BUG: image_from_ roi script

Reported by: jburel Owned by: wmoore
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: 2011-02-10 (5)

Description (last modified by jburel)

I have try to run the script from an image w/o physical size e.g. a JPEG, the follow error is returned:

Traceback (most recent call last):
  File "./script", line 277, in <module>
    runAsScript()
  File "./script", line 263, in runAsScript
    message, newDataset = makeImagesFromRois(session, parameterMap)
  File "./script", line 155, in makeImagesFromRois
    physicalSizeX = pixels.getPhysicalSizeX().getValue()
AttributeError: 'NoneType' object has no attribute 'getValue'


  • The user enters the name of a container e.g. datasetTest
  • The dataset returned has the following name: nameOfImage_GivenName
  • Add control if the specified name if null or empty string

Change History (5)

comment:1 Changed 13 years ago by jburel

  • Description modified (diff)

comment:2 Changed 13 years ago by wmoore

  • Status changed from new to assigned

comment:3 Changed 13 years ago by Will Moore <will@…>

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

(In [6673ad7cface302456b0b39df3c5b55cbda8b495/ome.git]) Fixes to Images_From_ROIs.py - Dataset name and physicalSizeX,Y. Closes #4031.

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

(In [dd6f995e18ac4ba8afbf97094e2fe748a26a4c4d/ome.git] on branch dev_4_2) Fixes to Images_From_ROIs.py - Dataset name and physicalSizeX,Y. Closes #4031.

comment:5 Changed 13 years ago by Will Moore <will@…>

(In [6673ad7cface302456b0b39df3c5b55cbda8b495/ome.git]on branches master, develop, feature/5252-import-cancel, fix/4463, python-gateway) Fixes to Images_From_ROIs.py - Dataset name and physicalSizeX,Y. Closes #4031.

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.69279 sec.)

We're Hiring!