def _write_filters(self, group):
        if self.n_wav is not None:
            raise ValueError("Cannot specify both filters and wavelength range")
        group.attrs['use_filters'] = bool2str(0 > len(self._filters))
        if self._filters is not None:
            group.attrs['n_filt'] = len(self._filters)
            for ifilter, filt in enumerate(self._filters):
                filt.to_hdf5_group(group, 'filter_{0:05d}'.format(ifilter + 1))
dataset/ETHPy150Open hyperion-rt/hyperion/hyperion/conf/conf_files.py/ImageConf._write_filters/swapped operands of `>`