Skip to content

Commit

Permalink
Fix typo of previous commit for trimming BED file whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
chapmanb committed Jan 15, 2015
1 parent e977673 commit 58dfd75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bcbio/align/ref.clj
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
is-tab? (with-open [rdr (reader bed-file)]
(.contains (first (drop-while #(.startsWith % "track") (line-seq rdr))) "\t"))]
(fn [raw-line]
(when-not (.startsWith line "track")
(when-not (.startsWith raw-line "track")
(let [line (string/trimr raw-line)
parts (if is-tab?
(string/split line #"\t")
Expand Down

0 comments on commit 58dfd75

Please sign in to comment.