Adjusted subtract_query.py to accomodate for empty fields at end of lines.

#111 Merged at 57bd06b
Repository
galaxy-central
Branch
default
Author
  1. Joachim Jacob
Reviewers
Description

subtract_query compare lines in one dataset with another, to filter out the common ones. Sometimes, user uploaded lists (txt) has multiple white spaces at the end: the comparing fails in such a case.

This patch removes, just before comparing, all white spaces at the end of the line are removed (not only \n and \r), since they contain no information to compare other lines with.

Comments (0)