Skip to content

Commit

Permalink
Fix python3 syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
rdemaria committed Sep 22, 2017
1 parent 38784ad commit 39d31ce
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pytimber/LHCBSRT.py
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ def update_beta_lsf_energy(self,t1,t2,beth=None,betv=None,
mask = np.logical_and(bsrt_array['time']>=t1,bsrt_array['time']<=t2)
for k,v in zip(['beth','betv','lsfh','lsfv','energy'],[beth,betv,lsfh,lsfv,energy]):
if verbose:
print k,'old=',bsrt_array[k][mask],'new=',v
print(k,'old=',bsrt_array[k][mask],'new=',v)
if v is None:
continue
bsrt_array[k][mask] = v
Expand Down
2 changes: 1 addition & 1 deletion pytimber/LHCBWS.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
be present to run pytimbertools""")

import pytimber
import toolbox as tb
import pytimber.toolbox as tb

from .dataquery import set_xaxis_date
from .localdate import parsedate,dumpdate
Expand Down

0 comments on commit 39d31ce

Please sign in to comment.