@@ -66,11 +66,11 @@ def volume(self):
6666
6767
6868ASEOutputStatic = OutputStatic (
69- ** {k : getattr (ASEExecutor , k ) for k in OutputStatic .fields ()}
69+ ** {k : getattr (ASEExecutor , k ) for k in OutputStatic .keys ()}
7070)
7171
7272ASEOutputMolecularDynamics = OutputMolecularDynamics (
73- ** {k : getattr (ASEExecutor , k ) for k in OutputMolecularDynamics .fields ()}
73+ ** {k : getattr (ASEExecutor , k ) for k in OutputMolecularDynamics .keys ()}
7474)
7575
7676
@@ -113,7 +113,7 @@ def evaluate_with_ase(
113113def calc_static_with_ase (
114114 structure ,
115115 ase_calculator ,
116- output_keys = OutputStatic .fields (),
116+ output_keys = OutputStatic .keys (),
117117):
118118 return ASEOutputStatic .get (
119119 ASEExecutor (ase_structure = structure , ase_calculator = ase_calculator ),
@@ -148,7 +148,7 @@ def calc_molecular_dynamics_npt_with_ase(
148148 pfactor = 2e6 * units .GPa * (units .fs ** 2 ),
149149 temperature = 100 ,
150150 externalstress = np .array ([0.0 , 0.0 , 0.0 , 0.0 , 0.0 , 0.0 ]) * units .bar ,
151- output_keys = ASEOutputMolecularDynamics .fields (),
151+ output_keys = ASEOutputMolecularDynamics .keys (),
152152):
153153 return _calc_md_step_with_ase (
154154 dyn = NPT (
@@ -182,7 +182,7 @@ def calc_molecular_dynamics_langevin_with_ase(
182182 timestep = 1 * units .fs ,
183183 temperature = 100 ,
184184 friction = 0.002 ,
185- output_keys = ASEOutputMolecularDynamics .fields (),
185+ output_keys = ASEOutputMolecularDynamics .keys (),
186186):
187187 return _calc_md_step_with_ase (
188188 dyn = Langevin (
@@ -232,7 +232,7 @@ def calc_molecular_dynamics_thermal_expansion_with_ase(
232232 ttime = 100 * units .fs ,
233233 pfactor = 2e6 * units .GPa * (units .fs ** 2 ),
234234 externalstress = np .array ([0.0 , 0.0 , 0.0 , 0.0 , 0.0 , 0.0 ]) * units .bar ,
235- output_keys = OutputThermalExpansionProperties .fields (),
235+ output_keys = OutputThermalExpansionProperties .keys (),
236236):
237237 structure_current = structure .copy ()
238238 temperature_lst = np .arange (
0 commit comments