Skip to content

Commit

Permalink
Remove charge kwarg from load_xyz function calls
Browse files Browse the repository at this point in the history
  • Loading branch information
smcolby committed Oct 18, 2024
1 parent 3d48677 commit f39c6c6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions isicle/qm.py
Original file line number Diff line number Diff line change
Expand Up @@ -847,7 +847,7 @@ def finish(self):
# Enumerate geometry files
result['xyz'] = OrderedDict()
for geomfile in geomfiles:
geom = isicle.load(geomfile, charge=self.geom.get_charge())
geom = isicle.load(geomfile)

if '_geom-' in geomfile:
idx = int(os.path.basename(geomfile).split('-')[-1].split('.')[0])
Expand Down Expand Up @@ -1177,7 +1177,7 @@ def finish(self):

# Load geometry
if var_name == 'xyz':
result[var_name] = isicle.load(outfile, charge=self.geom.get_charge())
result[var_name] = isicle.load(outfile)

# Load other files
else:
Expand Down

0 comments on commit f39c6c6

Please sign in to comment.