Copy a set's subfolders into the sweep's work directory - #31
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 withthere 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
\includegraphicsor![...]()names - into the work directory, except for.in2lambda-agentand draft files from an earlier run, before any document runs. A test in tests/test_corpus.py: a set folder holding a tex that inputsfigures/ball.pngsweeps 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.