-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update dandi.inspector_config.yaml (#247)
* Update dandi.inspector_config.yaml * enchanged * fix tests * remove unused lines * separate logic; cleanup * fix tests * Update nwbinspector/checks/nwbfile_metadata.py Co-authored-by: Ben Dichter <[email protected]> * Update nwbinspector/checks/nwbfile_metadata.py Co-authored-by: Ben Dichter <[email protected]> * Update tests/unit_tests/test_nwbfile_metadata.py Co-authored-by: Ben Dichter <[email protected]> * Update tests/unit_tests/test_nwbfile_metadata.py Co-authored-by: Ben Dichter <[email protected]> * update tests * Update tests/unit_tests/test_nwbfile_metadata.py Co-authored-by: Ben Dichter <[email protected]> * Update tests/unit_tests/test_nwbfile_metadata.py Co-authored-by: Ben Dichter <[email protected]> * remove unused fields * propose changes to best practices (#252) * propose changes to best practices * Update docs/best_practices/nwbfile_metadata.rst Co-authored-by: Cody Baker <[email protected]> * Update docs/best_practices/nwbfile_metadata.rst Co-authored-by: Cody Baker <[email protected]> Co-authored-by: Cody Baker <[email protected]> * Include check_subject_proper_age_range to DANDI config (#255) * Update dandi.inspector_config.yaml * Update test_check_configuration.py * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> * Update CHANGELOG.md Co-authored-by: Cody Baker <[email protected]> Co-authored-by: Cody Baker <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
- Loading branch information
1 parent
c55b0dc
commit 2cbb997
Showing
6 changed files
with
149 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,14 @@ | ||
# Upcoming | ||
|
||
### DANDI Configuration | ||
* `check_subject_sex`, `check_subject_species`, `check_subject_age`, `check_subject_proper_age_range` are now elevated to `CRITICAL` importance when using the "DANDI" configuration. Therefore, these are now required for passing `dandi validate`. | ||
|
||
### Improvements | ||
* Enhanced human-readability of the return message from `check_experimenter_form`. [PR #254](https://github.com/NeurodataWithoutBorders/nwbinspector/pull/254) | ||
* Add check for existence of ``IntracellularElectrode.cell_id`` [PR #256](https://github.com/NeurodataWithoutBorders/nwbinspector/pull/256) | ||
* Add check for shape consistency between ``reference_images`` and the x, y, (z) dimensions of the ``image_mask`` of ``PlaneSegmentation``objects. [PR #257](https://github.com/NeurodataWithoutBorders/nwbinspector/pull/257) | ||
* Extended check for ``Subject.age`` field with estimated age range using '/' separator [PR #247](https://github.com/NeurodataWithoutBorders/nwbinspector/pull/247) | ||
|
||
### New Checks | ||
* Added check for existence of ``IntracellularElectrode.cell_id`` [PR #256](https://github.com/NeurodataWithoutBorders/nwbinspector/pull/256) | ||
* Added check that bounds of age range for ``Subject.age`` using the '/' separator are properly increasing. [PR #247](https://github.com/NeurodataWithoutBorders/nwbinspector/pull/247) | ||
* Added check for existence of ``IntracellularElectrode.cell_id`` [PR #256](https://github.com/NeurodataWithoutBorders/nwbinspector/pull/256) | ||
* Added check for shape consistency between ``reference_images`` and the x, y, (z) dimensions of the ``image_mask`` of ``PlaneSegmentation``objects. [PR #257](https://github.com/NeurodataWithoutBorders/nwbinspector/pull/257) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,9 @@ | ||
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 | ||
- check_subject_age | ||
- check_subject_proper_age_range | ||
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters