Skip to content

Commit

Permalink
better fix
Browse files Browse the repository at this point in the history
  • Loading branch information
VanyaBelyaev committed Nov 29, 2024
1 parent a71fb9e commit 7f80ce1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ostap/fitting/tests/test_fitting_selectors.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def create_tree ( fname , nentries ) :
var2 = array ( 'd', [0.])
var3 = array ( 'd', [0.])

with ROOTCWD() , ROOT.TFile.Open ( fname , 'new' ) as root_file:
with ROOT.TFile ( fname , 'new' ) as root_file:

tree = ROOT.TTree ( 'S','tree' )
tree.SetDirectory ( root_file )
Expand Down

0 comments on commit 7f80ce1

Please sign in to comment.