-
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
IGVF-2113-index-file #1206
IGVF-2113-index-file #1206
Conversation
src/igvfd/audit/file.py
Outdated
"audit_description": "Alignment files in bai format are expected to have their corresponding bam file in `derived_from`.", | ||
"audit_category": "incorrect bam file", | ||
"audit_description": "Index files in tbi format are expected to have a corresponding tsv or vcf file in `derived_from`.", | ||
"audit_category": "incorrect indexed file", |
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.
shouldn't this be "missing indexed file"?
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.
nevermind, I just realized derived_from is required for index files. But for consistency with the wording for other audits I think the category should be "unexpected indexed file" instead.
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.
BTW you should add this file type to the list of audit scripts in commands/make_audit_docstring.py
"enum": [ | ||
"index" | ||
], |
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.
can you provide enum_descriptions?
"$merge": [ | ||
"file.json#/dependentSchemas" | ||
], | ||
"file_format": { |
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.
can you leave comments for these dependencies
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.
some minor comments, looks pretty good overall other than that.
b6e629f
to
c494486
Compare
No description provided.