Closed kersting closed 3 months ago
Hi @kersting,
Thanks for having a go at this. A few comments:
I commented on the changelog entries are just under the last release and not under the "Unreleased" heading.
Similar to Amit's comment about the type in the SQL, the type in the SCHEMA should be 'string' and not 'number. I ran your sample through a validator and it highlights these errors.
I think the units should be an enum and not be a free field for anyone to type anything? If we agree then there is a bit of work in moving the 'measurement_units' out of the 'logger_measurement_config' area into it's own definition. I can help with that. I don't think this would make a breaking change. @abohara do you think it would make a breaking change?
In the SQL statements the measurement_units are already in a table on their own so if we agree with above, then we just need to add this as a foreign key to the 'Calibration' table.
Thanks,
@abohara and @stephenholleran sorry for the mistakes. The habit of copying and pasting without thinking... I fixed everything in my local but I didn't make a new pull request based on @stephenholleran comments about making into an enum. From here we have a couple of options. I can just update the pull request so @stephenholleran can pick it from here or I can also do the enum part. Please let me know if you have a preference.
Hi @kersting,
Just push your changes to GitHub and they'll appear here. I can then pull this updated branch and move the measurement_units into a definition.
Thanks,
Hi @kersting,
Did you merge by mistake? There are still a few of my issues outstanding and we have to move measurement_units into a definition. I meant to just push the changes you had on your local computer into this branch and then I could see them here. Not really to merge the PR.
There seems to be a 'revert' button just above here in the line item where it says it has merged. Maybe you could try that to revert this PR?
Cheers, Stephen
@stephenholleran sorry I misunderstood what you wrote. Let me revert it.
@stephenholleran I created one to revert and created a brand new one with the fixes.
Issue https://github.com/IEA-Task-43/digital_wra_data_standard/issues/248