Skip to content

Commit c371a2e

Browse files
:> reduction adjustments
:> search configs
1 parent f887c8b commit c371a2e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

mxtaltools/crystal_search/run_search.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@
9494

9595
torch.save(opt_outs, out_path)
9696

97-
if any(opt.umbrella for opt in config.opt):
97+
if any(getattr(opt, 'umbrella', False) for opt in config.opt):
9898
new_latents = crystal_batch.latent_params().cpu()
9999
if not os.path.exists(umbrella_path):
100100
torch.save(new_latents, umbrella_path)

0 commit comments

Comments
 (0)