File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -1720,7 +1720,7 @@ def write_batch_script(self, n=1):
1720
1720
# from user config
1721
1721
ns .update (self .namespace )
1722
1722
script_as_string = self .formatter .format (self .batch_template , ** ns )
1723
- self .log .debug ('Writing batch script: %s' , self .batch_file )
1723
+ self .log .debug (f 'Writing batch script: { self .batch_file } \n { script_as_string } ' )
1724
1724
with open (self .batch_file , 'w' ) as f :
1725
1725
f .write (script_as_string )
1726
1726
os .chmod (self .batch_file , stat .S_IRUSR | stat .S_IWUSR | stat .S_IXUSR )
@@ -1745,8 +1745,10 @@ def start(self, n=1):
1745
1745
# Here we save profile_dir in the context so they
1746
1746
# can be used in the batch script template as {profile_dir}
1747
1747
self .write_batch_script (n )
1748
+
1748
1749
output = check_output (self .args , env = os .environ )
1749
1750
output = output .decode (DEFAULT_ENCODING , 'replace' )
1751
+ self .log .debug (f"Submitted { shlex_join (self .args )} . Output: { output } " )
1750
1752
1751
1753
job_id = self .parse_job_id (output )
1752
1754
self .notify_start (job_id )
You can’t perform that action at this time.
0 commit comments