Skip to content

Commit

Permalink
add debug examples
Browse files Browse the repository at this point in the history
  • Loading branch information
jgunstone committed Sep 30, 2024
1 parent 67e3f8e commit 7b8fe31
Showing 1 changed file with 21 additions and 18 deletions.
39 changes: 21 additions & 18 deletions packages/document-issue-xl/src/document_issue_xl/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,22 +29,22 @@

if __debug__:
print("Debug ON")
# fpth = (
# pathlib.Path(__file__).parent.parent.parent
# / "xl"
# / "DocumentNumberGenerator-v0_0_12.xlsm"
# )
# fpth = pathlib.Path(
# r"J:\J7004\Issue Sheet\Stage 4 - Construction\J7004_DocumentNumberGenerator_Construction.xlsm"
# )
# fpth = pathlib.Path(
# r"J:\J7081\Project Management\Job Running\J7081 Document Number Generator.xlsm"
# )
# fpth = (
# pathlib.Path(__file__).parent.parent.parent
# / "xl"
# / "DocumentNumberGenerator-v0_0_7.xlsm"
# )
fpth = (
pathlib.Path(__file__).parent.parent.parent
/ "xl"
/ "DocumentNumberGenerator-v0_0_12.xlsm"
)
fpth = pathlib.Path(
r"J:\J7004\Issue Sheet\Stage 4 - Construction\J7004_DocumentNumberGenerator_Construction.xlsm"
)
fpth = pathlib.Path(
r"J:\J7081\Project Management\Job Running\J7081 Document Number Generator.xlsm"
)
fpth = (
pathlib.Path(__file__).parent.parent.parent
/ "xl"
/ "DocumentNumberGenerator-v0_0_7.xlsm"
)
fpth = pathlib.Path(
r"J:\J7561\Project Management\Job Running\J7561_DocumentNumberGenerator.xlsm"
) # done
Expand Down Expand Up @@ -138,10 +138,13 @@
) # emma - done
fpth = pathlib.Path(
r"J:\J7294\Project Management\Job Running\J7294 Issue Sheet.xlsm"
)
) # anna - done
fpth = pathlib.Path(
r"J:\J6790\Project Management\Job Running\Issue Sheet\J6790 - Document Number Generator - Goods Office.xlsm"
)
) # anna - done
fpth = pathlib.Path(
r"J:\J7249\Project Management\Job Running\7249 DocumentNumber Issue Sheet - BSWN.xlsm"
) # anna - done

xw.Book(str(fpth)).set_mock_caller()
RESULTS = cmd()
Expand Down

0 comments on commit 7b8fe31

Please sign in to comment.