Reputation: 643
I have a doit task which depends on one of several datasets contained in an h5 file.
Does anyone have any idea how I could (1) check the dependency to determine whether or not to execute the task and (2) save the dependency's signature for checking next time the task is executed?
Upvotes: 0
Views: 91
Reputation: 3170
In doit
you can write custom rules to check if a task is up-to-date or not. Check uptodate
http://pydoit.org/dependencies.html#uptodate
Upvotes: 1