Searched refs:ddb_files (Results 1 – 4 of 4) sorted by relevance
/dports/science/py-abipy/abipy-0.9.0/abipy/flowtk/ |
H A D | wrappers.py | 149 def merge(self, workdir, ddb_files, out_ddb, description, delete_source_ddbs=True): argument 152 ddb_files = [os.path.abspath(s) for s in list_strings(ddb_files)] 157 print("Will merge %d files into output DDB %s" % (len(ddb_files), out_ddb)) 158 for i, f in enumerate(ddb_files): 162 if len(ddb_files) == 1: 163 with open(ddb_files[0], "r") as inh, open(out_ddb, "w") as out: 174 inp.write(str(len(ddb_files)) + "\n") # Number of input DDBs. 177 for fname in ddb_files: 191 for f in ddb_files:
|
H A D | works.py | 1382 ddb_files = list(filter(None, [task.outdir.has_abiext("DDB") for task in my_tasks 1385 ddb_files = list(filter(None, [task.outdir.has_abiext("DDB") for task in my_tasks])) 1387 self.history.info("Will call mrgddb to merge %s DDB files:" % len(ddb_files)) 1389 if not ddb_files: 1395 if len(ddb_files) == 1: 1397 shutil.copy(ddb_files[0], out_ddb) 1402 mrgddb.merge(self.outdir.path, ddb_files, out_ddb=out_ddb, description=desc,
|
H A D | flows.py | 3130 ddb_files = list(filter(None, [work.outdir.has_abiext("DDB") for work in self])) 3137 mrgddb.merge(self.outdir.path, ddb_files, out_ddb=out_ddb, description=desc) 3204 ddb_files = list(filter(None, [work.outdir.has_abiext("DDB") for work in self])) 3211 mrgddb.merge(self.outdir.path, ddb_files, out_ddb=out_ddb, description=desc)
|
/dports/science/py-abipy/abipy-0.9.0/abipy/dfpt/ |
H A D | ddb.py | 2551 ddb_files = [] 2561 ddb_files.append(tmpfile) 2565 return cls.from_files(ddb_files)
|