One declaration-order pass: run only datasets whose inputs changed.
(store, datasets)
| 61 | |
| 62 | |
| 63 | def frame(store, datasets): |
| 64 | """One declaration-order pass: run only datasets whose inputs changed.""" |
| 65 | for d in datasets: |
| 66 | if d.should_run(store): |
| 67 | d.run(store) |
| 68 | |
| 69 | |
| 70 | # --------------------------------------------------------------------------- |