Skip to content

Commit

Permalink
exc_info ?
Browse files Browse the repository at this point in the history
  • Loading branch information
VanyaBelyaev committed Dec 19, 2024
1 parent 897a75f commit 81bdcdf
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .aux/test_with_lcg
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ CMTCONFIG=$2
source /cvmfs/sft.cern.ch/lcg/views/${LCG}/${CMTCONFIG}/setup.sh
source build/INSTALL/thisostap.sh
cd build
ctest -N && cmake .. -DCMAKE_INSTALL_PREFIX=./INSTALL/ && ctest -j2 --output-on-failure --test-output-size-failed 5000000
ctest -N && cmake .. -DCMAKE_INSTALL_PREFIX=./INSTALL/ && ctest -j2 --output-on-failure -R '(histoi_param|carlson)' --test-output-size-failed 5000000
14 changes: 11 additions & 3 deletions ostap/core/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -622,9 +622,17 @@ def _TO_draw_ ( obj , option = '', *args , **kwargs ) :

result = obj

## update the pad/canvas
Ostap.Utils.pad_update()

# =================================================================
try : # ==========================================================
## update the pad/canvas
Ostap.Utils.pad_update()
# =============================================================
except : # ========================================================
# =============================================================
logger.error ( 'Exception is caught!' , exc_info = True )
# =============================================================


return result

ROOT.TObject.draw = _TO_draw_
Expand Down

0 comments on commit 81bdcdf

Please sign in to comment.