mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-10-25 10:24:38 +08:00
Only strip c from column definition if it precedes integers
This commit is contained in:
@@ -1272,7 +1272,7 @@ class ColumnListParameter(SelectToolParameter):
|
||||
@staticmethod
|
||||
def _strip_c(column):
|
||||
if isinstance(column, str):
|
||||
if column.startswith('c'):
|
||||
if column.startswith('c') and len(column) > 1 and all(c.isdigit() for c in column[1:]):
|
||||
column = column.strip().lower()[1:]
|
||||
return column
|
||||
|
||||
|
||||
Reference in New Issue
Block a user