Skip to content

Commit

Permalink
linter: allow dynamic option definition by from_url
Browse files Browse the repository at this point in the history
  • Loading branch information
bernt-matthias committed Dec 10, 2024
1 parent ee5f807 commit 3ca72f0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/galaxy/tool_util/linters/inputs.py
Original file line number Diff line number Diff line change
Expand Up @@ -710,12 +710,14 @@ def lint(cls, tool_source: "ToolSource", lint_ctx: "LintContext"):
# TODO check if input param is present for from_dataset
from_dataset = options.get("from_dataset", None)
from_data_table = options.get("from_data_table", None)
from_url = options.get("from_url", None)

if (
from_file is None
and from_parameter is None
and from_dataset is None
and from_data_table is None
and from_url is None
and not filter_adds_options
):
lint_ctx.error(
Expand Down

0 comments on commit 3ca72f0

Please sign in to comment.