Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(6)  |  Call(4)  |  Derive(0)  |  Import(2)

src/p/r/praxes-HEAD/praxes/combi/xrf_analysis.py   praxes(Download)
def getcfgdict_txt(cfgpath):
    return ConfigDict.ConfigDict(filelist=cfgpath)
 
def addElTrcfg(pymcacfg, eltr):
    if isinstance(eltr, str):
            cfgpath=PYMCACFGpath()
 
        self.pymca_config = ConfigDict.ConfigDict(filelist=cfgpath)
 
        self.pymca_config=addElTrcfg(self.pymca_config, quantElTr+otherElTr)

src/p/r/praxes-HEAD/praxes/io/phynx/multichannelanalyzer.py   praxes(Download)
            config = self.attrs.get('pymca_config', None)
            if config is not None:
                from PyMca.ConfigDict import ConfigDict
                # would like to use json.loads here:
                self._pymca_config = ConfigDict(simple_eval(config))

src/p/r/praxes-HEAD/praxes/io/phynx/measurement.py   praxes(Download)
    def pymca_config(self):
        try:
            return self._pymca_config
        except AttributeError:
            from PyMca.ConfigDict import ConfigDict
            # would like to use json.loads here:
            config = simple_eval(self.attrs.get('pymca_config', '{}'))
            self._pymca_config = ConfigDict(config)