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 a323ef7 commit cddf0b2Copy full SHA for cddf0b2
aiida_test_cache/mock_code/_hasher.py
@@ -34,8 +34,10 @@ def __call__(self, cwd: Path) -> str:
34
file_content_bytes = file_obj.read()
35
if path.name == self.SUBMIT_FILE:
36
file_content_bytes = self._strip_submit_content(file_content_bytes)
37
- # TODO: REVERT THIS!!!!
38
- file_content_bytes += b" "
+ # TODO: This is a temporary ugly hack for backward compatibility wit aiida-core<2.3
+ # REVERT THIS after 0.0.1 release!
39
+ if file_content_bytes[-1] != b" ":
40
+ file_content_bytes += b" "
41
self.log("##################")
42
self.log("Stripped submit.sh")
43
self.log(f"\n{file_content_bytes.decode('utf-8')}")
0 commit comments