-
Notifications
You must be signed in to change notification settings - Fork 307
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
Testing format changes #983
Testing format changes #983
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.
Changes look good. Both npm run test
and npm run testData
work fine, and I believe those are the only scripts impacted by these changes.
This certainly improves readability of this part of the code.
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.
Thanks to @dzheng13341 for their first PR. The work is good. I made a couple of comments that I would like addressed. I note that the developer also checked that a cold start would work since these functions are used to initialize OED.
These are also used by the website setup so I will take care of updating that once this PR clears. That is not done within the production code of OED.
are provided for units and conversions. Also changed sourceId and destinationId to sourceName and destinationName.
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 have a few comments and thoughts on the recent changes. Could you please address them before I do a careful check on the code? Thanks.
sourceId/destinationId
Update units to use similar checking for keys as conversions. Added a couple of simple changes that I introduced into the conversion code.
Description
Partly addresses issue #940 because it does not do groups.
Type of change
Checklist