-
Notifications
You must be signed in to change notification settings - Fork 2
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
Re-work the csv output logs & validate user inputs #104
Conversation
Is this the browseMetadata column - I can see v 1.0.1 so that's great 😸 !
That's fair enough - the timestamp is in the filename as well so makes sense can use it as an identifier 👍 Can see both files, looks good!
When trying to run the compare function: |
This looks good to me! ✨
Sounds good! l agree- means the function can be used as a sanity check for a user as well :)
Only looked briefly at code here but looks ok at glance 👍
|
Another minor feedback - I may have suggested it'd be good to have a choice to amend classifications in case of a mistake, but the more I'm using it, I'm wondering if it's necessary after every classification. Personally I think having just one prompt at the end to check your classifications and if you're happy or want to amend, is enough. See what you think though this is just my experience in using it 😸 |
I wondered if it was necessary as well, but actually both Dan and Nida suggested this feature would be useful. I think when I am in 'test mode' I find the amount of prompts given to me as the user annoying XD but that's because I am doing it quickly. Going through it properly with a real use-case, I can see the extra functionality to correct things can be good, so I'll leave this functionality in for now. |
@Rainiefantasy your errors with the
To answer your question 'I'm not sure why you need all four files as opposed to just having the two classification files as you are comparing the output - was there a reason for this?'
Finally, I changed the function name to What do you think? Can you run again with same inputs please and see if it no longer errors? Thanks! |
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.
Ah wonderful it works now 😃 ! Worked nicely and I like how you don't have to repeat the filenames for both the log and output 🚀 . Approved for merge! 🤞 (And thank you for explaining the reasoning behind why the files are needed. :)
Just spotted this, that's no problem - it's mostly a preference thing so I guess it doesn't matter. 😆 But I agree, it's probably because of the testing you notice it more! |
Thanks for reviewing this long PR @Rainiefantasy - appreciate it! |
❗ Sorry, this is a big PR ... not the best practice ...
Closes #102
compare_csv_outputs
command is being used to compare outputs created from different package versionscompare_csv_outputs
had to be adjustedCloses #91
domain_mapping
which allows the user to add an optional free text note about this table. They always have the option to skip a table and not process it as wellCloses #97
compare_csv_outputs
I don't see an issue with two output files having the same initials and therefore think this issue can be closed - let me know if you spot anything.Closes #82
user_categorisation
to validate and standardize user inputsdomain_mapping
as there is now a 4th argument foruser_categorisation
Other changes:
compare_csv_outputs
and validated that all the checks workChecklist before review: