From d16bbd3b4272733e270d3c3054883699239d7548 Mon Sep 17 00:00:00 2001 From: Patrick Godwin <patrick.godwin@ligo.org> Date: Tue, 16 May 2017 08:52:37 -0700 Subject: [PATCH] multichannel_datasource.py: fixed bug where channel list path is not parsed correctly in some cases --- gstlal-ugly/python/multichannel_datasource.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gstlal-ugly/python/multichannel_datasource.py b/gstlal-ugly/python/multichannel_datasource.py index 37a8e219bd..a59e1279d5 100644 --- a/gstlal-ugly/python/multichannel_datasource.py +++ b/gstlal-ugly/python/multichannel_datasource.py @@ -212,7 +212,7 @@ class DataSourceInfo(object): assert fidelity in self.known_fidelity, '--fidelity-exclude=%s is not understood. Must be one of %s'%(fidelity, ", ".join(self.known_fidelity)) # dictionary of the requested channels, e.g., {"H1": {"LDAS-STRAIN": 16384}, "L1": {"LDAS-STRAIN": 16384}} - name, extension = options.channel_list.split('.') + name, extension = options.channel_list.rsplit('.', 1) if extension == 'ini': self.channel_dict = channel_dict_from_channel_ini(options) else: -- GitLab