leed25d
leed25d

Reputation: 643

Python-doit dependecy on a dataset in an h5 file

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

Answers (1)

schettino72
schettino72

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

Related Questions