Skip to content

Commit

Permalink
Convert listconfig to list before adding to get total include_key
Browse files Browse the repository at this point in the history
  • Loading branch information
kavanase authored and cw-tan committed Nov 18, 2024
1 parent da321ec commit f131ae1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nequip/data/ase.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def from_ase(
] # arguments for from_dict method
)
include_keys = list(
set(include_keys + ase_all_properties + list(key_mapping.keys()))
set(list(include_keys) + ase_all_properties + list(key_mapping.keys()))
- default_args
- set(exclude_keys)
)
Expand Down

0 comments on commit f131ae1

Please sign in to comment.