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

Opened 14 years ago

Closed 14 years ago

populate_roi.py broken; still referes to FormatI

Reported by: jamoore Owned by: cxallan
Priority: blocker Milestone: OMERO-Beta4.2
Component: Scripting Version: n.a.
Keywords: n.a. Cc: cxallan, jburel
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: n.a.
Sprint: 2010-06-24 (12)

Description

populate_roi.py was not updated with the s/format/mimetype/ switch to original files. These I've fixed, but we'll need a round of testing. The unit test is currently failling with:

======================================================================
ERROR: test_get_measurement_ctx (__main__.MIASParseRoiTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test/populate_roi_test.py", line 103, in test_get_measurement_ctx
    ctx = self.analysis_ctx.get_measurement_ctx(0)
  File "/Users/moore/code/omero.git/components/tools/OmeroPy/build/lib/omero/util/populate_roi.py", line 280, in get_measurement_ctx
    result_files)
  File "/Users/moore/code/omero.git/components/tools/OmeroPy/build/lib/omero/util/populate_roi.py", line 668, in __init__
    original_file, result_files)
  File "/Users/moore/code/omero.git/components/tools/OmeroPy/build/lib/omero/util/populate_roi.py", line 510, in __init__
    idx = well.copyWellSamples().index(well_sample)
ValueError: list.index(x): x not in list

Change History (7)

comment:1 Changed 14 years ago by jmoore

(In [7239]) Changed OriginalFile.format to OriginalFile.mimetype in populate_roi.py. See #2211, #2493

comment:2 Changed 14 years ago by cxallan

  • Sprint changed from 2010-05-27 (10) to 2010-06-10 (11)

comment:3 Changed 14 years ago by jburel

  • Sprint changed from 2010-06-10 (11) to 2010-06-24 (12)

comment:4 Changed 14 years ago by jmoore

  • Owner set to cxallan

comment:5 Changed 14 years ago by cxallan

(In [7462]) Fixing Populate_ROI.py script job path and command line options + default port in populate_roi.py. (See #2493)

comment:6 Changed 14 years ago by jmoore

(In [7466]) Fixing file lookup in PopulateRoiJob?. (See #2493)

comment:7 Changed 14 years ago by jmoore

  • Resolution set to fixed
  • Status changed from new to closed

Chris is away, but we're under the impression that Populate_ROI.py is now working fine. Closing.

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

We're Hiring!