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

implicit provides? #859

Closed
BoPeng opened this issue Dec 14, 2017 · 2 comments
Closed

implicit provides? #859

BoPeng opened this issue Dec 14, 2017 · 2 comments
Assignees

Comments

@BoPeng
Copy link
Contributor

BoPeng commented Dec 14, 2017

We currently use provides parameter to determine auxiliary steps, so

[10]
output: 'a.txt'

would not work for command sos run -t a.txt because although the step generates a.txt, it does not provides this outcome. I am wondering if we can extend SoS to allow implicit provides for steps with very clear output (no pattern matching, no derived output from input etc). This might make SoS easier to use, but might also confuse users.

@BoPeng
Copy link
Contributor Author

BoPeng commented Feb 7, 2018

I tend to think this is a good idea because the step has a clear output and users would expect the command sos run -t a.txt to work. It worth the trouble if implementing such a feature can reduce confusion or surprise.

@BoPeng
Copy link
Contributor Author

BoPeng commented Feb 18, 2018

Documented here.

@BoPeng BoPeng closed this as completed Feb 18, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant