From 9700ac226f8506d31e96fea7ba0fe55fcd9fc1d9 Mon Sep 17 00:00:00 2001 From: Patrick Godwin <patrick.godwin@ligo.org> Date: Wed, 3 May 2017 14:23:38 -0700 Subject: [PATCH] multichannel_datasource.py: fixed issue with not reading .INI files correctly --- gstlal-ugly/python/multichannel_datasource.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/gstlal-ugly/python/multichannel_datasource.py b/gstlal-ugly/python/multichannel_datasource.py index 34963b097b..37a8e219bd 100644 --- a/gstlal-ugly/python/multichannel_datasource.py +++ b/gstlal-ugly/python/multichannel_datasource.py @@ -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 -- GitLab