runtraj.execution.inputs.hash_inputs#
- runtraj.execution.inputs.hash_inputs(directory)[source]#
Return a content hash of a project folder’s
config.yamlandreleases.csv.runtraj submithashes the inputs when it makes a Kubernetes Job and gives the hash to each pod, which hashes what it copied and refuses to run when the two differ: areleases.csvchanged after submit would split the releases differently among the Job’s tasks. The content is hashed, not a time or an etag, so copying the same files again is no change.tables/is not hashed: it does not decide the split.- Raises:
FileNotFoundError – If directory has no
config.yamlorreleases.csv.- Return type:
- Parameters: