mecfs_bio.figures.key_scripts.publish_figures
End-to-end "the figure system is out of date" workflow.
Runs the three steps a contributor wants in sequence:
1. generate_new_figures --- invoke the build system for any figure
task in ALL_FIGURE_TASKS whose output is not yet on disk, and copy the
results into the figure directory.
2. prune_orphan_figures --- drop manifest entries (and local files)
for figures no task in ALL_FIGURE_TASKS produces. If any such entry
is still referenced in the documentation, the script raises before
touching anything; the user resolves the conflict by restoring the
task or removing the doc reference.
3. push_figures --- rehash the figure directory, update the
committed manifest, and upload any new content-addressed blobs to
the GitHub release.
After this script finishes, commit the updated
mecfs_bio/figures/figures_manifest.json to record the change.
Functions:
Attributes:
-
logger–