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

Invalidate the task cache when output handling changes #748

Open
tclose opened this issue Apr 10, 2024 · 0 comments
Open

Invalidate the task cache when output handling changes #748

tclose opened this issue Apr 10, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@tclose
Copy link
Contributor

tclose commented Apr 10, 2024

What would you like changed/added and why?

For the task cache to be invalidated when the output handling functions/templates change

What would be the benefit? Does the change make something easier to use?

Primarily when debugging a workflow with faulty task output handling. Currently, if you make changes to the output handling of a shell-command you need to remember to delete the corresponding cache directory, otherwise the outputs will be read from the previous run.

If the output spec was included in the checksum for the task then Pydra would create a new cache directory and you wouldn't run into this trap

If it is a new feature, what is the benefit?

Make it simpler for inexperienced (and experienced) users to debug task output handling within the context of a workflow

@tclose tclose added the enhancement New feature or request label Apr 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant