galaxyproject / galaxyproject/galaxy

Allow default attribute on data parameters.

Open
#1,682 5 comments 0 reactions 0 assignees View on GitHub
area/tool-framework friendliness/intermediate kind/enhancement
Dominant language
Python
Stars
1.9k
Forks
1.2k
Avg merge
2d 16h
Merged PRs (30d)
169

Description

Like `optional`, but if no value is select for the data parameter a wrapper for a tool-relative file (instead of a dataset) will be fed to Cheetah.

This has been requested for Galaxy tools before, my selfish desire for this is to implement default values on File parameters in CWL tools. https://gist.github.com/jmchilton/d0985f141e4fc486147d

Contributor guide

Open the contributing guide

Research direction

Start by tracing how data parameters are represented and how a tool-relative file wrapper is fed to Cheetah; the issue does not name files or tests. Compare the requested behavior with the linked CWL default-value example, then define the expected behavior for an unselected data parameter before implementing and testing it.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.