You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems the specification of the crabCommand API changed (or maybe they just improved the documentation 😄) and we don't need the dirty workaround around getoutput and crab report to silence the terminal from displaying the result
Namely, from their example:
# If you want crabCommand to be quiet:
#from CRABClient.UserUtilities import setConsoleLogLevel
#from CRABClient.ClientUtilities import LOGLEVEL_MUTE
#setConsoleLogLevel(LOGLEVEL_MUTE)
# With this function you can change the console log level at any time.
# To retrieve the current crabCommand console log level:
#from CRABClient.UserUtilities import getConsoleLogLevel
#crabConsoleLogLevel = getConsoleLogLevel()
# If you want to retrieve the CRAB loggers:
#from CRABClient.UserUtilities import getLoggers
#crabLoggers = getLoggers()
It would avoid the silent crashes of runPostCrab.py that hide in fact crab crashes...
The text was updated successfully, but these errors were encountered:
It seems the specification of the crabCommand API changed (or maybe they just improved the documentation 😄) and we don't need the dirty workaround around
getoutput
andcrab report
to silence the terminal from displaying the resultNamely, from their example:
It would avoid the silent crashes of
runPostCrab.py
that hide in fact crab crashes...The text was updated successfully, but these errors were encountered: