Skip to content

Commit

Permalink
refix frame test
Browse files Browse the repository at this point in the history
  • Loading branch information
ahnitz committed Jul 1, 2014
1 parent 249a4c3 commit 50341cd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pycbc/frame.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,9 +137,9 @@ def read_frame(location, channels, start_time=None,
if end_time is None:
end_time = start_time + data_duration

if start_time is not lal.LIGOTimeGPS:
if type(start_time) is not lal.LIGOTimeGPS:
start_time = lal.LIGOTimeGPS(start_time)
if end_time is not lal.LIGOTimeGPS:
if type(end_time) is not lal.LIGOTimeGPS:
end_time = lal.LIGOTimeGPS(end_time)

if duration is None:
Expand Down
File renamed without changes.

0 comments on commit 50341cd

Please sign in to comment.