Skip to content

Commit ffb555e

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 598fa7b commit ffb555e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

aiida_lammps/calculations/base.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -367,9 +367,9 @@ def prepare_for_submission(self, folder):
367367
# Write the potential to the remote folder
368368
# with folder.open(self._POTENTIAL_FILENAME, "w") as handle:
369369
# handle.write(self.inputs.potential.get_content())
370-
371-
with folder.open(self._POTENTIAL_FILENAME, 'wb') as handle1:
372-
with self.inputs.potential.open(mode='rb') as handle2:
370+
371+
with folder.open(self._POTENTIAL_FILENAME, "wb") as handle1:
372+
with self.inputs.potential.open(mode="rb") as handle2:
373373
handle1.write(handle2.read())
374374

375375
# Write the input file content. This function will also check the

0 commit comments

Comments
 (0)