Skip to content

ColumnListParameter fails with IndexError: list index out of range #18865

Closed
@galaxyproject-sentryintegration

Description

Not sure of the logic here. The problem is that there are more numerical columns for this metadata type than columns in the file.

Sentry Issue: GALAXY-MAIN-100X

IndexError: list index out of range
(4 additional frame(s) were not displayed)
...
  File "galaxy/tools/parameters/__init__.py", line 525, in _populate_state_legacy
    state[input.name] = input.get_initial_value(request_context, context)
  File "galaxy/tools/parameters/basic.py", line 1536, in get_initial_value
    return super().get_initial_value(trans, other_values)
  File "galaxy/tools/parameters/basic.py", line 1118, in get_initial_value
    options = list(self.get_options(trans, other_values))
  File "galaxy/tools/parameters/basic.py", line 1523, in get_options
    column_list = [column_list[i] for i in numerics]
  File "galaxy/tools/parameters/basic.py", line 1523, in <listcomp>
    column_list = [column_list[i] for i in numerics]

Uncaught exception in exposed API method:

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions