Skip to content
Permalink
Browse files
[Processing] Comment debuging statements in OTB which clutter up Proc…
…essing log
  • Loading branch information
Rado Guzinski committed Jul 22, 2014
1 parent f511bf9 commit b115ea6ee14ee9f1ec28ee80844c70ea21fe4dae
Showing with 4 additions and 4 deletions.
  1. +4 −4 python/plugins/processing/algs/otb/OTBAlgorithm.py
@@ -340,9 +340,9 @@ def processAlgorithm(self, progress):
if not found:
ProcessingLog.addToLog(ProcessingLog.LOG_INFO, "Adapter for %s not found" % the_key)

frames = inspect.getouterframes(inspect.currentframe())[1:]
for a_frame in frames:
frame,filename,line_number,function_name,lines,index = a_frame
ProcessingLog.addToLog(ProcessingLog.LOG_INFO, "%s %s %s %s %s %s" % (frame,filename,line_number,function_name,lines,index))
#frames = inspect.getouterframes(inspect.currentframe())[1:]
#for a_frame in frames:
# frame,filename,line_number,function_name,lines,index = a_frame
# ProcessingLog.addToLog(ProcessingLog.LOG_INFO, "%s %s %s %s %s %s" % (frame,filename,line_number,function_name,lines,index))

OTBUtils.executeOtb(commands, progress)

0 comments on commit b115ea6

Please sign in to comment.