Ticket #247 (closed defect: fixed)
Opened 2008-02-20T15:38:29-06:00
Last modified 2008-02-21T07:48:34-06:00
Sequential setId calls with SVSReader can throw an exception
Reported by: | curtis | Owned by: | melissa |
---|---|---|---|
Priority: | critical | Milestone: | |
Component: | bio-formats | Severity: | critical |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
When calling setId iteratively on multiple SVS files, an IllegalArgumentException can be thrown:
curtis@monk:~$ java SequentialTest data/svs/samples/BreastCancer.svs data/svs/samples/Mammal\ Eye_001.svs Exception in thread "main" java.lang.IllegalArgumentException: Invalid series: 1 at loci.formats.FormatReader.setSeries(FormatReader.java:475) at loci.formats.ImageReader.setSeries(ImageReader.java:386) at loci.formats.FileStitcher.initFile(FileStitcher.java:1004) at loci.formats.FileStitcher.setId(FileStitcher.java:230) at SequentialTest.main(SequentialTest.java:5)
See the attached sample program.
Attachments
Change History
Changed 2008-02-20T15:38:52-06:00 by curtis
- attachment SequentialTest.java added
Program for calling setId sequentially on the same format reader.