We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 598fa7b commit ffb555eCopy full SHA for ffb555e
aiida_lammps/calculations/base.py
@@ -367,9 +367,9 @@ def prepare_for_submission(self, folder):
367
# Write the potential to the remote folder
368
# with folder.open(self._POTENTIAL_FILENAME, "w") as handle:
369
# 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:
+
+ with folder.open(self._POTENTIAL_FILENAME, "wb") as handle1:
+ with self.inputs.potential.open(mode="rb") as handle2:
373
handle1.write(handle2.read())
374
375
# Write the input file content. This function will also check the
0 commit comments