Skip to content

Commit

Permalink
FileMatrix: do not log files that eventually don't get added
Browse files Browse the repository at this point in the history
  • Loading branch information
gmazzamuto committed Mar 3, 2021
1 parent 330b7a2 commit 52e5922
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zetastitcher/align/filematrix.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ def parse_file_name(file_name):
except IndexError:
fields.append(0)

logger.info('adding {} \tX={} Y={} Z={}'.format(file_name, *fields))
return fields


Expand Down Expand Up @@ -206,6 +205,7 @@ def parse_and_append(self, name, flist, shape=None):
shape = [infile.nfrms, infile.ysize, infile.xsize]
flist += fields + shape
flist.append(name)
logger.info('adding {} \tX={} Y={} Z={}'.format(name, *fields))
except (RuntimeError, ValueError):
raise
return shape
Expand Down

0 comments on commit 52e5922

Please sign in to comment.