Skip to content

TypeError: '<' not supported between instances of 'int' and 'NoneType' #22461

@galaxyproject-sentryintegration

Description

Sentry Issue: GALAXY-MAIN-4KSCZZZ0015KX

TypeError: '<' not supported between instances of 'int' and 'NoneType'
(3 additional frame(s) were not displayed)
...
  File "galaxy/managers/workflows.py", line 1069, in _workflow_to_dict_run
    step_model = tool.to_json(
  File "galaxy/tools/__init__.py", line 3089, in to_json
    self.populate_model(request_context, self.inputs, state_inputs, tool_model["inputs"])
  File "galaxy/tools/__init__.py", line 3149, in populate_model
    populate_model(
  File "galaxy/tools/parameters/populate_model.py", line 55, in populate_model
    tool_dict = input.to_dict(request_context, other_values=other_values)
  File "galaxy/tools/parameters/basic.py", line 2748, in to_dict
    d["options"]["hdca"] = sorted(d["options"]["hdca"], key=lambda k: k.get("hid", -1), reverse=True)

Uncaught exception in exposed API method:

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Triage/Discuss

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions