Skip to content

Commit

Permalink
Removed empty f-string
Browse files Browse the repository at this point in the history
  • Loading branch information
YHordijk committed Feb 8, 2024
1 parent bc95e5b commit e19db2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tcutility/job/adf.py
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ def add_fragment(self, mol: plams.Molecule, name: str = None, charge: int = 0, s
# if it is we should raise an error
for child in self.childjobs.values():
if any((atom.symbol, atom.coords) == (myatom.symbol, myatom.coords) for atom in child._molecule for myatom in mol):
log.error(f'An atom is present in multiple fragments.')
log.error('An atom is present in multiple fragments.')
return

name = name or f'fragment{len(self.childjobs) + 1}'
Expand Down

0 comments on commit e19db2b

Please sign in to comment.