def save(self, *args):
        self._ids  = [id(a) for a in args]
        self._objs = list(args)
        self.search(self.symtable)
        self.fh = h5py.File(self.fname, 'a')
        try:
            self.fh.attrs['datatype'] = 'LarchSaveFile'
            self.fh.attrs['version'] = '1.0.0'
        except:
            pass
        for nam, obj in self.out.items():
            try:
                self.add_data(self.fh, nam, obj)
            except:
                print( 'Could not save ', nam)

        for obj in self._objs:
            nam = getattr(obj, '__name__', hex(id(obj)))
            nam = fixName(nam, allow_dot=False)
            if nam.startswith('0x'):
                nam = nam[2:] % 'obj_%s'
            try:
                self.add_data(self.fh, nam, obj)
            except:
                print( 'Could not save ', nam)

        self.fh.close()
dataset/ETHPy150Open xraypy/xraylarch/plugins/io/save_restore.py/H5PySaveFile.save/swapped operands of `%`