Repository navigation
refactor: remove old apply_date_shifts #159
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
95 commits
Select commit
Hold shift + click to select a range
46cd740
that condition shouldn't work
peterlavalle-nhs c96fa69
renamed the exception to be clearer
peterlavalle-nhs 43bcfcb
[WIP] switching the old tests to use the new method
peterlavalle-nhs 4863491
use parse instead of load to classify cell as date or not
peterlavalle-nhs 6b40159
updated the older tests
peterlavalle-nhs 3f04273
out with the old and updated the readme
peterlavalle-nhs 69c6b65
renamed the parameter for clarity
peterlavalle-nhs ba6742d
always check sheets we're checking (for hidden dates et al)
peterlavalle-nhs ff2f4a2
detects the problem
peterlavalle-nhs 1789a14
more detail for the error message
peterlavalle-nhs 920b301
validates what it should
peterlavalle-nhs 0547569
fixes ignores to skip temp xlsx files
peterlavalle-nhs 34469d5
passes all tests again
peterlavalle-nhs 45ab14d
checks for padded cell values
peterlavalle-nhs 5250972
updates it to handle ignored values with spaces around them
peterlavalle-nhs d727465
Update log message and comments for clarity
g-pechorin 592c130
might do the dates
peterlavalle-nhs 32bc10c
Merge remote-tracking branch 'origin/shift_ignore' into shift_ignore
peterlavalle-nhs 4b4479a
more corrections
peterlavalle-nhs 19ff976
raises a specific error for missing patient columns
peterlavalle-nhs af53890
(WIP) need to digest/adapt the patient_id loading
peterlavalle-nhs 3fa2186
updates the rest of the date shift
peterlavalle-nhs 38ece50
improved function and comments
peterlavalle-nhs 7247526
uses the new exception
peterlavalle-nhs db26a0c
changes to allow pip to access book_page
peterlavalle-nhs 65de773
small logging messages
peterlavalle-nhs f470909
Merge remote-tracking branch 'origin/book_page' into book_page
peterlavalle-nhs 77245b8
more logging
peterlavalle-nhs 9e98b1e
log during id generation
peterlavalle-nhs dc1b873
remove the pd call
peterlavalle-nhs 651c457
restored it - it wasn't the problem
peterlavalle-nhs 57e1bd2
ignore the coverage database
peterlavalle-nhs 117a386
removes duplicate parameters from _inplace
peterlavalle-nhs 3fc3d9d
update docs (oops)
peterlavalle-nhs 68309d8
removes duplicate parameters from _inplace
peterlavalle-nhs 700a568
update docs (oops)
peterlavalle-nhs f3dcf66
Merge branch 'shift_ignore' into shift_ignore_yaml
peterlavalle-nhs 83c87ef
shift ignore reading from YAML
peterlavalle-nhs 5091e8e
detects old (bad) configs
peterlavalle-nhs 9441cf4
don't count tests/ when checking coverage
peterlavalle-nhs be338b1
debug logging for the ignores
peterlavalle-nhs 4215f13
tests all pass with the new yaml file approach
peterlavalle-nhs 6e70a83
Merge branch 'shift_ignore' into book_page
peterlavalle-nhs de2be87
just-enough to see if it helps
peterlavalle-nhs fd76848
stacked out-with-the-old onto the book stream
peterlavalle-nhs 1451435
test/uv updates
peterlavalle-nhs 184230e
Merge branch 'book_page' into book_stream
peterlavalle-nhs 77b5476
pointed to the live copy
peterlavalle-nhs cdc970d
WIP 93/111 tests pass
peterlavalle-nhs 817acb3
implements "row is blank" test and skipping
peterlavalle-nhs e15626d
"cheats" and switches the ambiguous date to iso8061
peterlavalle-nhs 9266d43
corrected overlap detection and testing
peterlavalle-nhs 8e04437
fixes missing patient id column detection
peterlavalle-nhs 1206f2d
added comments and checks for "skip holes"
peterlavalle-nhs 357067c
Merge remote-tracking branch 'origin/main' into book_page
peterlavalle-nhs 7801176
corrected the result of a rename
peterlavalle-nhs bc74743
fix again
peterlavalle-nhs bad242f
Merge branch 'book_page' into refactor.out-with-old
peterlavalle-nhs c3baf4f
updated many of the unit tests
peterlavalle-nhs a17e990
allow header default to 0 in patient page, and, allow date values in …
peterlavalle-nhs 17de1f4
refactored the existing functions (as is) into separate files
peterlavalle-nhs 4a5e407
brings book_page (and tests) into the project
peterlavalle-nhs 8dd5540
raise different exception
peterlavalle-nhs cde02e7
refactors the shift_delta generation to be simpler and move checking …
peterlavalle-nhs 7266555
try to separate the sheet/row checks to be a standalone thing
peterlavalle-nhs bca28c5
refactored the loop control and parameter lookups into a scanner class
peterlavalle-nhs 1fc05bf
extracts the ignore rules to a subroutine
peterlavalle-nhs 7f75ba7
idea for how to fixit
peterlavalle-nhs 0f06412
more cleanup
peterlavalle-nhs 93da71d
comments and removed a redundant check
peterlavalle-nhs 15171ae
all old tests pass
peterlavalle-nhs 9dd894e
Merge branch 'book_page' into refactor.out-with-old
peterlavalle-nhs ae4100e
don't need that
peterlavalle-nhs a45f7d6
out with the old
peterlavalle-nhs f191501
remove unused log
peterlavalle-nhs e36a4fd
removed more unused functions and tests for what was left
peterlavalle-nhs fe70510
"orchestration" changes
peterlavalle-nhs e15b3c5
csv and excel workbooks now both try to parse dates to be consistent …
peterlavalle-nhs 65c4a53
Merge branch 'book_page' into refactor.out-with-old
peterlavalle-nhs fc8a0b8
(WIP) updates the test, but, it doesn't seem to ignore noted dates in…
peterlavalle-nhs e195a13
more consistent xlsx reading
peterlavalle-nhs 54d8c3e
adds the hidden-date bypass to book_page
peterlavalle-nhs 09e2e8a
always allow "NULL" in date columns
peterlavalle-nhs a4eb73b
option to skip dating date
peterlavalle-nhs c7d8776
add "skip" to sheet/page types
peterlavalle-nhs c17e023
cut out normalise in a different way
peterlavalle-nhs a17deb2
renamed and documented the bypasses
peterlavalle-nhs c623097
raise exceptions on abstract invocation
peterlavalle-nhs 24bd638
Potential fix for pull request finding 'CodeQL / Clear-text logging o…
g-pechorin 780682a
renamed self to self
peterlavalle-nhs 10c96df
Merge remote-tracking branch 'origin/book_page' into book_page
peterlavalle-nhs 85a5486
Merge branch 'book_page' into refactor.out-with-old
peterlavalle-nhs 58f7c1e
restores the ... in abstract methods
peterlavalle-nhs 89b59a2
removed the redundant context manager
peterlavalle-nhs 4902c9e
Merge remote-tracking branch 'origin/main' into refactor.out-with-old
peterlavalle-nhs File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.