Skip to content

fix typo in KWMClassifierData from columns to self.columns

Patrick Godwin requested to merge kwm_classifierdata_patch into master

Pretty straightforward, there's just a typo in KWMClassifierData probably introduced from the streaming_development branch which this merge request fixes:

searching for KWMultiple triggers within
    rootdir : raw_kw_triggers
with
    basename : H-KW_TRIGGERS
within segments
    1134400000.000 - 1134500000.000
    raw_kw_triggers/H-KW_TRIGGERS-11340/
    raw_kw_triggers/H-KW_TRIGGERS-11341/
    raw_kw_triggers/H-KW_TRIGGERS-11342/
    raw_kw_triggers/H-KW_TRIGGERS-11343/
    raw_kw_triggers/H-KW_TRIGGERS-11344/
        1134400000.000 - 1134500000.000
        raw_kw_triggers/H-KW_TRIGGERS-11344/H-KW_TRIGGERS-1134400000-32.trg
Traceback (most recent call last):
  File "/home/patrick.godwin/local/icc_master_180711/opt/bin/idq-kwm2kws", line 117, in <module>
    kwm2kws(gps_start, gps_end, **vars(opts))
  File "/home/patrick.godwin/local/icc_master_180711/opt/bin/idq-kwm2kws", line 67, in kwm2kws
    trgs = kwm.triggers(channels, verbose=verbose)
  File "/home/patrick.godwin/local/icc_master_180711/opt/lib/python2.7/site-packages/idq/io.py", line 161, in triggers
    self._data.update(self._retrieve_triggers(**kwargs))
  File "/home/patrick.godwin/local/icc_master_180711/opt/lib/python2.7/site-packages/idq/io.py", line 744, in _retrieve_triggers
    for channel, triggers in _kwm2triggers(trg_path, segments=germane_segments, columns=columns, channels=channels).items():
NameError: global name 'columns' is not defined
Edited by Patrick Godwin

Merge request reports

Loading