Skip to content

Commit 9dd39f8

Browse files
committed
Minor: Fixed an error message in converter
1 parent 43c75c7 commit 9dd39f8

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

arc/species/converter.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -702,8 +702,7 @@ def check_zmat_dict(zmat: Union[dict, str]) -> dict:
702702
# add a trivial map
703703
zmat_dict['map'] = {i: i for i in range(len(zmat_dict['symbols']))}
704704
if len(zmat_dict['symbols']) != len(zmat_dict['map']):
705-
raise ConverterError(f'Got {len(zmat_dict["symbols"])} symbols and {len(zmat_dict["isotopes"])} '
706-
f'isotopes:\n{zmat_dict}')
705+
raise ConverterError(f'Got {len(zmat_dict["symbols"])} symbols and {len(zmat_dict["map"])} Zmat::\n{zmat_dict}')
707706
for i, coord in enumerate(zmat_dict['coords']):
708707
for j, param in enumerate(coord):
709708
if param is not None:

0 commit comments

Comments
 (0)