Skip to content

Commit

Permalink
PerkinElmerReader: always return the HTM first in the used files list
Browse files Browse the repository at this point in the history
  • Loading branch information
sbesson committed Jul 23, 2024
1 parent 96927e0 commit c119d75
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -420,6 +420,9 @@ protected void initFile(String id) throws FormatException, IOException {

LOGGER.info("Finding image files");

addUsedFile(workingDirPath, htmFile);
if (htmFile != null) htmFile = allFiles.get(allFiles.size() - 1);

List<Integer> foundExts = new ArrayList<Integer>();
for (PixelsFile f : files) {
if (!foundExts.contains(f.extIndex)) {
Expand Down Expand Up @@ -457,8 +460,6 @@ protected void initFile(String id) throws FormatException, IOException {
if (csvFile != null) csvFile = allFiles.get(allFiles.size() - 1);
addUsedFile(workingDirPath, zpoFile);
if (zpoFile != null) zpoFile = allFiles.get(allFiles.size() - 1);
addUsedFile(workingDirPath, htmFile);
if (htmFile != null) htmFile = allFiles.get(allFiles.size() - 1);

if (timFile != null) parseTimFile(timFile);
if (csvFile != null) parseCSVFile(csvFile);
Expand Down

0 comments on commit c119d75

Please sign in to comment.