Skip to content

Copy a set's subfolders into the sweep's work directory - #31

Merged
peterbjohnson merged 3 commits into
mainfrom
wb/t36
Sep 21, 2026
Merged

peterbjohnson merged 3 commits into
mainfrom
wb/t36

Conversation

@peterbjohnson

Copy link
Copy Markdown
Member

The sweep's work copy of PHYS40002-Mechanics/problem_sheets_and_figures holds the .tex and .md files and no figures/ folder, so mechanics_23-24_PS5.tex faulted with there is no image file at .../corpus/.../figures/hans.png. Earlier the sweep copied the whole set folder (t13); t27 changed the copy and it now copies files only.
Copy the set folder as it stands - every subfolder, the figures a \includegraphics or ![...]() names - into the work directory, except for .in2lambda-agent and draft files from an earlier run, before any document runs. A test in tests/test_corpus.py: a set folder holding a tex that inputs figures/ball.png sweeps to built and the work copy holds the figure. Done when PS5 builds in a sweep (I run it) and the test passes.


Workbench ticket t36.

@peterbjohnson
peterbjohnson merged commit b434652 into main Sep 21, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant