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

Opened 13 years ago

Closed 13 years ago

BUG: Cellworx Screen-- directory scanning never stops

Reported by: jrswedlow Owned by:
Priority: major Milestone: OMERO-Beta4.3
Component: Import Version: n.a.
Keywords: n.a. Cc: mlinkert, jamoore
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: 0.0d
Sprint: 2011-06-16 (14)

Description (last modified by jburel)

Using .insight for import. Pick directory with .HTD file, scan starts and never stops, so import never occurs

  1. directory scanning does not work, or scans all file, and doe snot have smarts to figure out that directory is a screen. So it imports all TIFs, PNGs, and also the screen, but as a PDI structure.
  1. A workaround might be to use the filtering that you have in dialog, except that if you choose that filtering, then displaying a large directory takes forever.

You might also limit the screens to showing ONLY the metadata file you ant people to select.

Change History (23)

comment:1 Changed 13 years ago by jburel

  • Description modified (diff)

comment:2 Changed 13 years ago by jburel

  • Remaining Time set to 0.4
  • Sprint set to 2011-06-02 (13)
  • Status changed from new to accepted

comment:3 Changed 13 years ago by jmoore

  • Owner changed from jburel to jmoore

Jason, can you give me a specific example of such a mixed directory?

comment:4 Changed 13 years ago by jburel <j.burel@…>

(In [d5b05c94941eb4c82281a23b55ccb8b9d9da2e8d/ome.git] on branch develop) Improve support form screening data import. (see #5585, close #5578)

comment:5 Changed 13 years ago by jmoore

The ones I could find on our system are:

jmoore@necromancer /ome/data_repo $ find . -iname "*.htd"
./test_images_good/cellworx/hms/plate1/TIFF/plate1.HTD
./test_images_good/cellworx/hms/plate1/plate1.HTD
./from_skyking/samples/ome/011B1_Morph.HTD
./96-well-sample-dataset/GF1/PNL_Representative_Data_Set_96_Well.HTD

comment:6 Changed 13 years ago by jburel

  • Cc jburel added

Good ones to test import candidates.

comment:7 Changed 13 years ago by jburel <j.burel@…>

(In [7ef9ebf536aa663b24ce2bd0e3fa61400e247c12/ome.git] on branch develop) Improve folder import e.g. folder containing a mix of folders and files. Files can end up
being hcs data or not (see #5585)

comment:8 Changed 13 years ago by jburel

Improve to support the following scenario:

  • Select Folder1
  • Folder is as follow
    • /Folder/Flex? (folder containing screening data)
    • /Folder/Flex1 (folder containing screening data)
    • /Folder/image.dv (or whatever non screening data)
  • Import Folder
  • 2 plates imported and one image.

comment:9 follow-up: Changed 13 years ago by jmoore

Melissa, the particular case of 96-well-sample-dataset is because of the data being copied as TIFFs, right? In which case, the only thing we could do is use a readers.txt file without the tiff reader in it (or clean up the directory).

2011-05-27 10:31:39,178 678003     [      main] DEBUG                loci.formats.FormatHandler  - loci.formats.in.TiffReader.initFile(/ome/data_repo/96-well-sample-dataset/./GF1/TIFF/PNL_Representative_Data_Set_96_Well_F11_2_w685.tif)
2011-05-27 10:31:39,180 678005     [      main] INFO          loci.formats.in.MinimalTiffReader  - Reading IFDs
2011-05-27 10:31:39,182 678007     [      main] INFO          loci.formats.in.MinimalTiffReader  - Populating metadata
2011-05-27 10:31:39,182 678007     [      main] INFO                 loci.formats.in.TiffReader  - Checking comment style
2011-05-27 10:31:39,212 678037     [      main] INFO             loci.formats.in.BaseTiffReader  - Populating OME metadata
2011-05-27 10:31:39,212 678037     [      main] WARN             loci.formats.in.BaseTiffReader  - unknown creation date format: 2010/06/10 11:09:25
2011-05-27 10:31:39,216 678041     [      main] DEBUG              loci.formats.tiff.TiffParser  - Reading tile Length 2097152 Offset 8
2011-05-27 10:31:39,287 678112     [      main] DEBUG     ome.formats.importer.cli.ErrorHandler  - SCANNING: Depth:2 Num: 1600 Tot: 1732 File: ell_C08_scan.log
2011-05-27 10:31:39,289 678114     [      main] DEBUG     ome.formats.importer.cli.ErrorHandler  - SCANNING: Depth:2 Num: 1700 Tot: 1732 File: ell_F12_scan.log
2011-05-27 10:31:39,289 678114     [      main] DEBUG     ome.formats.importer.cli.ErrorHandler  - SCANNING: Depth:0 Num: 1732 Tot: 1732 File: .
2011-05-27 10:31:42,345 681170     [      main] INFO      ome.formats.importer.ImportCandidates  - 1732 file(s) parsed into 1537 group(s) with 1537 call(s) to setId in 675272ms. (680727ms total) [0 unknowns]
#======================================
# Group: /ome/data_repo/96-well-sample-dataset/./GF1/PNL_Representative_Data_Set_96_Well.HTD SPW: true Reader: CellWorx
/ome/data_repo/96-well-sample-dataset/./GF1/PNL_Representative_Data_Set_96_Well.HTD
/ome/data_repo/96-well-sample-dataset/./GF1/PNL_Representative_Data_Set_96_Well_scan.log
/ome/data_repo/96-well-sample-dataset/./GF1/z_focus_map.pnl
/ome/data_repo/96-well-sample-dataset/./GF1/PNL_Representative_Data_Set_96_Well_A01_scan.log
/ome/data_repo/96-well-sample-dataset/./GF1/PNL_Representative_Data_Set_96_Well_A01.pnl
/ome/data_repo/96-well-sample-dataset/./GF1/PNL_Representative_Data_Set_96_Well_A02_scan.log
...
#======================================
# Group: /ome/data_repo/96-well-sample-dataset/./GF1/TIFF/PNL_Representative_Data_Set_96_Well_C06_2_w685.tif SPW: false Reader: Tagged Image File Format
/ome/data_repo/96-well-sample-dataset/./GF1/TIFF/PNL_Representative_Data_Set_96_Well_C06_2_w685.tif
#======================================
# Group: /ome/data_repo/96-well-sample-dataset/./GF1/TIFF/PNL_Representative_Data_Set_96_Well_E07_4_w530.tif SPW: false Reader: Tagged Image File Format
/ome/data_repo/96-well-sample-dataset/./GF1/TIFF/PNL_Representative_Data_Set_96_Well_E07_4_w530.tif
#======================================
...

comment:10 in reply to: ↑ 9 Changed 13 years ago by mlinkert

Replying to jmoore:

Melissa, the particular case of 96-well-sample-dataset is because of the data being copied as TIFFs, right? In which case, the only thing we could do is use a readers.txt file without the tiff reader in it (or clean up the directory).

Right, it's the 'TIFF' sub-directory that causes the problem. For testing, you could just copy the actual CellWorX dataset (*.HTD, *.log, and *.pnl) to test_images_good/cellworx/hms/96-well-sample-dataset/, that way the TIFFs are not lost.

comment:11 Changed 13 years ago by jmoore

  • Owner jmoore deleted
  • Status changed from accepted to new

comment:12 Changed 13 years ago by jmoore

  • Owner set to jmoore

comment:13 Changed 13 years ago by jmoore

from Jason: /ome/data_repo/test_images_good/cellworx/hms/plate1

comment:14 Changed 13 years ago by jburel

  • Sprint changed from 2011-06-02 (13) to 2011-06-16 (14)

Moved from sprint 2011-06-02 (13)

comment:15 Changed 13 years ago by jmoore

  • Owner changed from jmoore to jburel

The directory from Jason has the same issue of having the TIFFs duplicated:

...

#======================================
# Group: /ome/data_repo/test_images_good/cellworx/hms/plate1/TIFF/plate1_E09_1_w460.tif SPW: false Reader: Tagged Image File Format
/ome/data_repo/test_images_good/cellworx/hms/plate1/TIFF/plate1_E09_1_w460.tif
#======================================
# Group: /ome/data_repo/test_images_good/cellworx/hms/plate1/TIFF/plate1_E07_2_w460.tif SPW: false Reader: Tagged Image File Format
/ome/data_repo/test_images_good/cellworx/hms/plate1/TIFF/plate1_E07_2_w460.tif
#======================================
# Group: /ome/data_repo/test_images_good/cellworx/hms/plate1/TIFF/plate1_D05_3_w460.tif SPW: false Reader: Tagged Image File Format
/ome/data_repo/test_images_good/cellworx/hms/plate1/TIFF/plate1_D05_3_w460.tif

real    3m43.016s
user    1m17.181s
sys     0m58.372s

However, scanning only took 3 minutes. Jean-Marie, do you think that Insight's of opening the TiffReader internally is doubling the time taken here? Passing to you for consideration. If that's not happening, then probably we should turn this in a ticket to cleanup the data repository.

comment:16 Changed 13 years ago by jmoore

  • Cc jmoore added; jburel removed

comment:17 Changed 13 years ago by jburel

  • Status changed from new to accepted

comment:18 Changed 13 years ago by jmoore

Here's the command from my import above:

bin/omero import -f /ome/data_repo/test_images_good/cellworx/hms/plate1

comment:19 Changed 13 years ago by jburel

I figured out the problem in insight related to the scanning. It now takes <2mins to scan.
ImportCandidate.getPaths() returns the HTD file and all the tiff as separate images.
so they all end up being imported: I can find a workaround if necessary.

comment:20 Changed 13 years ago by jburel <j.burel@…>

(In [ffa6139a876c9f94b8d536bc9d041aab1cf60507/ome.git] on branch develop) Fix the scanning directory issue when Cellworx (see #5585)

comment:21 Changed 13 years ago by jburel

  • Priority changed from critical to major

Scanning problem is now fixed, we can review the workflow in a 4.3.1 i.e. identifies the htd files and indicate
that a folder with tiff (or others) and decided to include/exclude it to the import.
Currently the tiff will be imported correctly.

The htd file is imported as a plate. Downgrading the ticket

comment:22 Changed 13 years ago by jburel

  • Owner jburel deleted
  • Status changed from accepted to new

comment:23 Changed 13 years ago by jburel

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

Discussion Jason, Chris, J-M:

  • add documentation on website indicating how to import such file.

Closing ticket

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

We're Hiring!