commit/galaxy-central: carlfeberhard: Dataproviders, column: correct max split in filter parsing
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/669f3cf60128/ Changeset: 669f3cf60128 User: carlfeberhard Date: 2015-02-16 20:19:35+00:00 Summary: Dataproviders, column: correct max split in filter parsing Affected #: 1 file diff -r d61dbf796cb5ca7500782e511490740c25010486 -r 669f3cf60128e9a891e0e8ea7e16db4efef37b40 lib/galaxy/datatypes/dataproviders/column.py --- a/lib/galaxy/datatypes/dataproviders/column.py +++ b/lib/galaxy/datatypes/dataproviders/column.py @@ -116,8 +116,8 @@ self.column_filters.append( parsed ) def parse_filter( self, filter_param_str ): - split = filter_param_str.split( '-', 3 ) - if not len( split ) == 3: + split = filter_param_str.split( '-', 2 ) + if not len( split ) >= 3: return None column, op, val = split Repository URL: https://bitbucket.org/galaxy/galaxy-central/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email.
participants (1)
-
commits-noreply@bitbucket.org