Skip to content
Snippets Groups Projects
Commit 38704589 authored by mattminder's avatar mattminder
Browse files

Negative time handling

parent 91a2e8dd
No related branches found
No related tags found
No related merge requests found
......@@ -259,7 +259,7 @@ class Reader:
"""This method tests if the array which is requested by LoadMask
already exists or not in the hdf file.
"""
if currentT <= len(self.tlabels) - 1:
if currentT <= len(self.tlabels) - 1 and currentT >= 0:
for t in file['/{}'.format(self.fovlabels[currentFOV])].keys():
# currentT is a number
# self.tlabels is some string that indexes the time point? E.g., T0?
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment