@@ -1007,11 +1007,14 @@ def _run(self, cams=None, overwrite=False):
10071007 executable = "/bin/bash" ,
10081008 )
10091009 info , error = process .communicate ()
1010- info_str = info .decode ("utf-8" ).strip ()
1011- _logger .info (info_str )
1010+ # info_str = info.decode("utf-8").strip()
1011+ # _logger.info(info_str)
10121012 if process .returncode != 0 :
10131013 error_str = error .decode ("utf-8" ).strip ()
1014- _logger .error (f'DLC failed for { cam } Camera\n { error_str } ' )
1014+ _logger .error (f'DLC failed for { cam } Camera.\n \n '
1015+ f'++++ Output of subprocess for debugging ++++\n \n '
1016+ f'{ error_str } \n '
1017+ f'++++++++++++++++++++++++++++++++++++++++++++\n ' )
10151018 self .status = - 1
10161019 # We dont' run motion energy, or add any files if dlc failed to run
10171020 continue
@@ -1029,11 +1032,14 @@ def _run(self, cams=None, overwrite=False):
10291032 executable = "/bin/bash" ,
10301033 )
10311034 info , error = process .communicate ()
1032- info_str = info .decode ("utf-8" ).strip ()
1033- _logger .info (info_str )
1035+ # info_str = info.decode("utf-8").strip()
1036+ # _logger.info(info_str)
10341037 if process .returncode != 0 :
10351038 error_str = error .decode ("utf-8" ).strip ()
1036- _logger .error (f'Motion energy failed for { cam } Camera \n { error_str } ' )
1039+ _logger .error (f'Motion energy failed for { cam } Camera.\n \n '
1040+ f'++++ Output of subprocess for debugging ++++\n \n '
1041+ f'{ error_str } \n '
1042+ f'++++++++++++++++++++++++++++++++++++++++++++\n ' )
10371043 self .status = - 1
10381044 continue
10391045 actual_outputs .append (next (self .session_path .joinpath ('alf' ).glob (
0 commit comments