-
Notifications
You must be signed in to change notification settings - Fork 1
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
RDRP-1081- pnp 2021 backdata prep: fix the move to instance 1 #392
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Its great you added a unit test for populate_instance_1_columns
:D
Just 2 comments to address. Cheers.
@AnneONS According to |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am happy with the changes - PR ready to be merged
Pull Request submission
This PR contains code to fix the function which moves values for the 2xx and 3xx cols from instance 0 to instance 1, and replace the values in instance 0 with zeros.
It was also necessary to ensure that an instance 1 is created if one doesn't exist yet for a reference.
A unit test has been included to check this is working as it should
Also, a new function to multiply the 2xx and 3xx cols by 1000
In addition, a very good investigation comparing the outputs to the raw data is needed.
Closes #1081
Code
Documentation
Any new code includes all the following forms of documentation:
Args
andreturns
for all major functionsData
Testing
Peer Review Section
requirements.txt
Final approval (post-review)
The author has responded to my review and made changes to my satisfaction.
Review comments
Insert detailed comments here!
These might include, but not exclusively:
that it is likely to interact with?)
works correctly?)
Your suggestions should be tailored to the code that you are reviewing.
Be critical and clear, but not mean. Ask questions and set actions.