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

Update dandi.inspector_config.yaml #247

Merged
merged 24 commits into from
Aug 24, 2022
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
89f89bd
Update dandi.inspector_config.yaml
bendichter Aug 3, 2022
1ce696b
Merge branch 'dev' into dandi-promotion-1
CodyCBakerPhD Aug 16, 2022
4637113
enchanged
CodyCBakerPhD Aug 16, 2022
161dc3e
fix tests
CodyCBakerPhD Aug 16, 2022
203c1d7
Merge branch 'dandi-promotion-1' into enhance_age_check
CodyCBakerPhD Aug 16, 2022
89ac295
remove unused lines
CodyCBakerPhD Aug 16, 2022
328bcce
separate logic; cleanup
CodyCBakerPhD Aug 16, 2022
5b27745
fix tests
CodyCBakerPhD Aug 16, 2022
0b28261
Update nwbinspector/checks/nwbfile_metadata.py
CodyCBakerPhD Aug 17, 2022
b39da03
Update nwbinspector/checks/nwbfile_metadata.py
CodyCBakerPhD Aug 17, 2022
bf359f0
Update tests/unit_tests/test_nwbfile_metadata.py
CodyCBakerPhD Aug 17, 2022
4d6dad6
Update tests/unit_tests/test_nwbfile_metadata.py
CodyCBakerPhD Aug 17, 2022
09309af
update tests
CodyCBakerPhD Aug 17, 2022
cd586c6
Update tests/unit_tests/test_nwbfile_metadata.py
CodyCBakerPhD Aug 17, 2022
d471d15
Update tests/unit_tests/test_nwbfile_metadata.py
CodyCBakerPhD Aug 17, 2022
6e2b3ac
remove unused fields
CodyCBakerPhD Aug 17, 2022
9e8df7c
Merge pull request #251 from NeurodataWithoutBorders/enhance_age_check
CodyCBakerPhD Aug 17, 2022
afa05c5
propose changes to best practices (#252)
bendichter Aug 17, 2022
6ffc4e5
Merge branch 'dev' into dandi-promotion-1
CodyCBakerPhD Aug 18, 2022
82546b1
Include check_subject_proper_age_range to DANDI config (#255)
CodyCBakerPhD Aug 18, 2022
8c53c0b
Merge branch 'dev' into dandi-promotion-1
CodyCBakerPhD Aug 19, 2022
8276be6
Merge branch 'dev' into dandi-promotion-1
CodyCBakerPhD Aug 24, 2022
44e052a
Update CHANGELOG.md
CodyCBakerPhD Aug 24, 2022
2faa201
Merge branch 'dev' into dandi-promotion-1
CodyCBakerPhD Aug 24, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions nwbinspector/internal_configs/dandi.inspector_config.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
CRITICAL: # All the fields under CRITICAL will be required for dandi validate to pass
- check_subject_exists
- check_subject_id_exists
- check_subject_sex
- check_subject_species
CodyCBakerPhD marked this conversation as resolved.
Show resolved Hide resolved
- check_subject_age
BEST_PRACTICE_VIOLATION:
- check_subject_sex # these are planned to be elevated to CRITICAL when required for DANDI validate
- check_subject_species # these are planned to be elevated to CRITICAL when required for DANDI validate
- check_subject_age # these are planned to be elevated to CRITICAL when required for DANDI validate
- check_data_orientation # not 100% accurate, so need to deelevate from CRITICAL to skip it in dandi validate
7 changes: 5 additions & 2 deletions tests/test_check_configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,11 +70,14 @@ def test_load_config(self):
self.assertDictEqual(
d1=config,
d2=dict(
CRITICAL=["check_subject_exists", "check_subject_id_exists"],
BEST_PRACTICE_VIOLATION=[
CRITICAL=[
"check_subject_exists",
"check_subject_id_exists",
"check_subject_sex",
"check_subject_species",
"check_subject_age",
],
BEST_PRACTICE_VIOLATION=[
"check_data_orientation",
],
),
Expand Down