File tree Expand file tree Collapse file tree 2 files changed +2
-7
lines changed Expand file tree Collapse file tree 2 files changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -1376,9 +1376,6 @@ def run_task(self, fw_spec):
1376
1376
{"wf_meta.wf_uuid" : uuid , "task_label" : optimize_task_label }
1377
1377
)
1378
1378
)
1379
- #input_structure = Structure.from_dict(optimize_task["input"]["structure"])
1380
- #input_magmoms = optimize_task["input"]["incar"]["MAGMOM"]
1381
- #input_structure.add_site_property("magmom", input_magmoms)
1382
1379
1383
1380
# used to determine if ordering changed during relaxation
1384
1381
# stored for checking suitable convergence is reached
@@ -1388,14 +1385,12 @@ def run_task(self, fw_spec):
1388
1385
)
1389
1386
else :
1390
1387
energy_diff_relax_static = None
1391
- #initial_structure = Structure.from_dict(d["output"]["structure"])
1392
- #initial_magmoms = initial_structure.site_properties["magmom"]
1393
1388
optimize_task = d
1394
1389
1395
1390
input_structure = Structure .from_dict (optimize_task ["input" ]["structure" ])
1396
1391
input_magmoms = optimize_task ["input" ]["incar" ]["MAGMOM" ]
1397
1392
input_structure .add_site_property ("magmom" , input_magmoms )
1398
-
1393
+
1399
1394
final_structure = Structure .from_dict (d ["output" ]["structure" ])
1400
1395
1401
1396
# picking a fairly large threshold so that default 0.6 µB magmoms don't
Original file line number Diff line number Diff line change @@ -335,7 +335,7 @@ def __init__(
335
335
336
336
formula = structure .composition .reduced_formula if structure is not None else "unknown"
337
337
fw_name = f"{ formula } -{ name } "
338
-
338
+
339
339
if spec_structure_key is not None :
340
340
vasp_input_set = vasp_input_set or MPStaticSet (
341
341
structure , ** vasp_input_set_params
You can’t perform that action at this time.
0 commit comments