Skip to content
Snippets Groups Projects
Commit 9700ac22 authored by Patrick Godwin's avatar Patrick Godwin
Browse files

multichannel_datasource.py: fixed issue with not reading .INI files correctly

parent 36d4d341
No related branches found
No related tags found
No related merge requests found
......@@ -111,10 +111,9 @@ def channel_dict_from_channel_ini(options):
# generate dictionary of channels
for name in sections:
# ensure only channels whose sections aren't excluded are added to the dict
if name not in options.section_exclude:
# extract the low frequency
flow = config.getfloat(name, 'flow')
......@@ -164,8 +163,8 @@ def channel_dict_from_channel_ini(options):
'ifo': ifo,
'flow': flow,
'fhigh': fhigh,
'qhigh' : qhigh,
'frametype' : frametype}
'qhigh' : config.get(name, 'qhigh'),
'frametype' : options.frame_type}
return channel_dict
......
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