Skip to content
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

New --complete-descriptions flag to warn for data not described by metadata in label #686

Merged
merged 5 commits into from
Aug 24, 2023

Conversation

al-niessner
Copy link
Contributor

🗒️ Summary

Display a warning for data not described by file area at the end of the file.

⚙️ Test Data and/or Report

See automated tests below

♻️ Related Issues

Closes #535

@al-niessner
Copy link
Contributor Author

@jordanpadams

This can easily be extended to include data at the front of the file and between data objects too. Let me know if you want the full set of checks.

@al-niessner al-niessner marked this pull request as draft August 19, 2023 18:16
@jordanpadams
Copy link
Member

jordanpadams commented Aug 23, 2023

@al-niessner

let's call it good on this for now. I want the other requirements, but I think we need to get consultation from our data design working group for that.

@jordanpadams jordanpadams changed the title 535: check for data not described by file area at end of file Add warning for data not described by metadata in label Aug 23, 2023
@jordanpadams jordanpadams marked this pull request as ready for review August 23, 2023 18:41
@al-niessner al-niessner marked this pull request as draft August 23, 2023 19:00
@jordanpadams jordanpadams marked this pull request as ready for review August 23, 2023 21:09
Copy link
Member

@jordanpadams jordanpadams left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@al-niessner looks like we have a broken test with the new WARNING message.

@al-niessner
Copy link
Contributor Author

al-niessner commented Aug 23, 2023

@jordanpadams

It is on the original ticket #535 but this change breaks many or most or nearly all of the existing unit tests. There are lots of them that have dodo at the end of their files that adding this as a regular check would be disastrous.

Copy link
Member

@nutjob4life nutjob4life left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@al-niessner
Copy link
Contributor Author

@jordanpadams ready

@jordanpadams jordanpadams changed the title Add warning for data not described by metadata in label New —complete-descriptions flag to warn for data not described by metadata in label Aug 24, 2023
@jordanpadams jordanpadams changed the title New —complete-descriptions flag to warn for data not described by metadata in label New --complete-descriptions flag to warn for data not described by metadata in label Aug 24, 2023
@jordanpadams jordanpadams changed the title New --complete-descriptions flag to warn for data not described by metadata in label New --complete-descriptions flag to warn for data not described by metadata in label Aug 24, 2023
@jordanpadams jordanpadams changed the title New --complete-descriptions flag to warn for data not described by metadata in label New --complete-descriptions flag to warn for data not described by metadata in label Aug 24, 2023
@jordanpadams jordanpadams merged commit 14be4de into main Aug 24, 2023
@jordanpadams jordanpadams deleted the issue_535 branch August 24, 2023 14:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

As a user, I want to receive a warning if records in file are greater than records value specified in label
3 participants