Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Distinction between inputs and parameters #39

Open
m-wierzba opened this issue Nov 7, 2024 · 1 comment
Open

Distinction between inputs and parameters #39

m-wierzba opened this issue Nov 7, 2024 · 1 comment

Comments

@m-wierzba
Copy link
Contributor

This a concern initially raised by @mih:

I was struggling a bit with the distinction between inputs and parameters (also in the make API). Both are inputs to a computation. I guess an input is a file dependency, whereas a parameter is a non-file information dependency.

I cannot provide a recommendation for better names -- just going on record that this causes mental friction for me.

Suggestions by @christian-monch:

  • variable
  • template-variable
  • script-variable
@m-wierzba m-wierzba mentioned this issue Nov 7, 2024
@christian-monch
Copy link
Contributor

I was mainly going with the nomenclature of datalad run when using input and output. We could use something else for the input to the script variable, i.e. for parameter.

I am a little hesitant to call it anything with variable though, usually "variable" refers to a variable in the script, e.g. participant_label, and "parameter" refers to the value that is passed to the variable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants