Skip to content

Commit

Permalink
Merge 946c939 into b8abc5e
Browse files Browse the repository at this point in the history
  • Loading branch information
Duncan Macleod committed Dec 3, 2018
2 parents b8abc5e + 946c939 commit 8933f6d
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion omicron/segments.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,13 @@ def get_state_segments(channel, frametype, start, end, bits=[0], nproc=1,
try:
from LDAStools import frameCPP
except ImportError:
pass
else:
io_kw['format'] = 'gwf.framecpp'
if RAW_TYPE_REGEX.match(frametype):
io_kw.update({'type': 'adc', 'format': 'gwf.framecpp'})
io_kw['type'] = 'adc'
elif channel.endswith('GDS-CALIB_STATE_VECTOR'):
io_kw['type'] = 'proc'

bits = map(str, bits)
# FIXME: need to read from cache with single segment but doesn't match
Expand Down

0 comments on commit 8933f6d

Please sign in to comment.