Skip to content

Commit

Permalink
Merge pull request #105 from MDIL-SNU/chem_list_input
Browse files Browse the repository at this point in the history
fix: list chem inputs
  • Loading branch information
YutackPark authored Oct 21, 2024
2 parents b64d195 + e0dde0c commit d2ca235
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sevenn/parse_input.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def init_model_config(config: Dict):
model_meta[KEY.CHEMICAL_SPECIES] = 'auto'
model_meta[KEY.NUM_SPECIES] = 'auto'
model_meta[KEY.TYPE_MAP] = 'auto'
elif 'univ' in input_chem.lower():
elif isinstance(input_chem, str) and 'univ' in input_chem.lower():
model_meta.update(util.chemical_species_preprocess([], universal=True))
else:
if isinstance(input_chem, list) and all(
Expand Down

0 comments on commit d2ca235

Please sign in to comment.