Skip to content

Commit

Permalink
Merge pull request #20 from connectome-neuprint/fix-tentative-end-time
Browse files Browse the repository at this point in the history
Improves the tentative end time calculation.
  • Loading branch information
hubbardp authored Aug 10, 2020
2 parents 7238ac7 + 2c1fcc0 commit a473f60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion neuVid/addAnimation.py
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ def advanceTime(args):
by = args["by"]
if isinstance(by, float):
time += by
tentativeEndTime = time
tentativeEndTime = max(time, tentativeEndTime)
else:
print("Error: advanceTime: argument 'by' is not a number")
else:
Expand Down

0 comments on commit a473f60

Please sign in to comment.