Skip to content

Commit

Permalink
thinko
Browse files Browse the repository at this point in the history
  • Loading branch information
GarethCabournDavies committed Dec 4, 2024
1 parent f3be8b8 commit 41647e3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pycbc/workflow/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -1283,6 +1283,7 @@ def _filename(self, ifo, description, extension, segment):
start = int(segment[0])
end = int(math.ceil(segment[1]))
if (end-start) > 0 and segment[0] > 0:
duration = end - start
time_str = f"-{start}-{duration}"
else:
# This comes about when we haven't defined a time range for
Expand Down

0 comments on commit 41647e3

Please sign in to comment.