ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/ns_dev/Python/NinoCode/Tool_Box/BatesRangeFunctions.py
(Generate patch)

Comparing Python/NinoCode/Tool_Box/BatesRangeFunctions.py (file contents):
Revision 707 by nino.borges, Wed Jul 15 15:18:15 2020 UTC vs.
Revision 708 by nino.borges, Wed Jul 15 19:09:52 2020 UTC

# Line 117 | Line 117 | def GetBatesRanges(batesList):
117      batesRangeList = []
118      for bates in batesList:
119          alpha, numb  =  seperate_alpha(bates)
120 +        ## now remove the trailing zeros
121 +        alpha = alpha.rstrip("0")
122          if alpha in batesMatrix.keys():
123              batesMatrix[alpha].append(bates)
124          else:

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)