Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
daico007 committed Aug 26, 2024
1 parent 94a5956 commit fb992cc
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions mosdef_dihedral_fit/utils/file_read_and_write.py
Original file line number Diff line number Diff line change
Expand Up @@ -1946,15 +1946,6 @@ def change_gomc_ff_file_dihedral_values(
for list_i in zero_dihedral_atom_types:
if not len(list_i) == 4:
raise TypeError(zero_dihedral_atom_types_error)

if (
isinstance(list_i[0], str)
and isinstance(list_i[1], str)
and isinstance(list_i[2], str)
and isinstance(list_i[3], str)
):
raise TypeError(zero_dihedral_atom_types_error)

elif not isinstance(zero_dihedral_atom_types, type(None)):
raise TypeError(zero_dihedral_atom_types_error)

Expand Down

0 comments on commit fb992cc

Please sign in to comment.