Commit ea7adedd authored by Cole Neubauer's avatar Cole Neubauer
Browse files

csvdiff can now handle whitespace Fixes #4318

git-svn-id: http://subversion.wr.usgs.gov/repos/prog/isis3/trunk@7831 41f8697f-d340-4b68-9986-7bafba869bb8
parent d48a9384
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -100,7 +100,8 @@ if len(sys.argv) >= 4:
  for line in tolerances:
    if line.strip() != '':
      column, tolerance = line.strip().upper().split("=")
      tolerance_map[column] = float(tolerance)
      # Strip column and tolerance to allow for whitespace around "=" character
      tolerance_map[column.strip()] = float(tolerance.strip())

  # Close the file
  tolerance_file.close()