Skip to content

Write emit_batch Lean output under Sendov/FiniteRange - #3

Open
Chessing234 wants to merge 1 commit into
teorth:masterfrom
Chessing234:fix/emit-batch-write-under-FiniteRange
Open

Chessing234 wants to merge 1 commit into
teorth:masterfrom
Chessing234:fix/emit-batch-write-under-FiniteRange

Conversation

@Chessing234

Copy link
Copy Markdown

Summary

  • emit_batch.py wrote Degree{n0}_{n1}.lean to cwd.
  • Resolve into Sendov/FiniteRange/ from __file__ so generation from the repo root lands in the package.

Test plan

  • Output path is Path(__file__).parents[1] / Sendov/FiniteRange / Degree....lean

Degree{n0}_{n1}.lean was written to cwd, so generating from the repo
root dropped files outside the package. Resolve the path from
__file__ into Sendov/FiniteRange.
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