Skip to content

Commit 825ecef

Browse files
committed
Fixed an error in the cluster. If the tar file is generated incomplete, the simulation is interrupted
1 parent 8cf3d2a commit 825ecef

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

Modules/Cluster.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -731,10 +731,8 @@ def copy_files(self, list_of_input, list_of_output, to_server):
731731
cmd = self.sshcmd + " %s '%s'" % (self.hostname, compress_cmd)
732732
cp_res = self.ExecuteCMD(cmd, False)
733733
if not cp_res:
734-
print ("Error while compressing the outputs:", cmd)
735-
print(list_of_output)
736-
print ("Return code:", cp_res)
737-
return cp_res
734+
print ("Error while compressing the outputs:", cmd, list_of_output, "\nReturn code:", cp_res)
735+
#return cp_res
738736

739737

740738
# Copy the tar and unpack

0 commit comments

Comments
 (0)