Commits

Daniel Blankenberg  committed c63e973

Remove leading and trailing white space from around chromosome names in GenomicInterval class.

  • Participants
  • Parent commits 84efd1b

Comments (0)

Files changed (1)

File lib/bx/intervals/io.py

         # Parse chrom/source column
         if chrom_col >= nfields:
             raise MissingFieldError( "No field for chrom_col (%d)" % chrom_col )
-        self.chrom = fields[chrom_col]
+        self.chrom = fields[chrom_col].strip()
         # Parse start column and ensure it is an integer
         if start_col >= nfields:
             raise MissingFieldError( "No field for start_col (%d)" % start_col )