Skip to content

Commit

Permalink
Fixed code for python3 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
mteroerd committed Jul 8, 2020
1 parent 48e83c9 commit 4cca02a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def convertName(self, name):
return out

def makeHists(self, sectorRange, coordinate):
sectors = range(sectorRange[0],sectorRange[1]+1)
sectors = list(range(sectorRange[0],sectorRange[1]+1))
numSectors = len(sectors)

fi = ROOT.TFile(self.inFile, "READ")
Expand Down

0 comments on commit 4cca02a

Please sign in to comment.