Skip to content

Commit 4d97508

Browse files
committed
further updates
1 parent 9752fc7 commit 4d97508

File tree

3 files changed

+29
-37
lines changed

3 files changed

+29
-37
lines changed

atomrdf/parsers/pyiron.py

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,9 @@ def extract(job):
2424
elif type(job).__name__ == 'Calphy':
2525
return calphy_process_job(job)
2626
elif type(job).__name__ == 'Murnaghan':
27-
return murnaghan.process_job(job)
27+
return murnaghan_process_job(job)
2828
elif type(job).__name__ == 'QuasiHarmonicJob':
29-
return qha.process_job(job)
30-
elif type(job).__name__ == 'Calphy':
31-
return calphy.process_job(job)
29+
return quasiharmonic_process_job(job)
3230
else:
3331
raise TypeError("These type of pyiron Job is not currently supported")
3432

@@ -200,7 +198,7 @@ def _lammps_identify_method(job, method_dict):
200198

201199
elif "nvt" in input_dict["fix___ensemble"]:
202200
method = "md_nvt"
203-
raw = input_dict["fix___ensemble"].split()
201+
raw = input_dict["fix___ensemble"].split().format(i)
204202
temp = float(raw[3])
205203
dof.append("AtomicPositionRelaxation")
206204
md_method = "MolecularDynamics"
@@ -222,7 +220,8 @@ def _lammps_identify_method(job, method_dict):
222220

223221
method_dict["method"] = {'basename': md_method}
224222
method_dict["degrees_of_freedom"] = dof
225-
method_dict["thermodynamic_ensemble"] = {'basename': ensemble}
223+
if ensemble is not None:
224+
method_dict["thermodynamic_ensemble"] = {'basename': ensemble}
226225

227226
# now process potential
228227
inpdict = job.input.to_dict()

atomrdf/transform/transform.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from build.lib.atomrdf import sample
1+
22
import numpy as np
33
from atomrdf.datamodels.structure import AtomicScaleSample
44
from atomrdf.build.bulk import _generate_atomic_sample_data

0 commit comments

Comments
 (0)