File tree Expand file tree Collapse file tree 3 files changed +4
-2
lines changed Expand file tree Collapse file tree 3 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 1616* Swapped setup approach to the modern ` pyproject.toml ` standard. [ #507 ] ( https://github.com/NeurodataWithoutBorders/nwbinspector/pull/507 )
1717* Added complete annotation typing and integrated Mypy into pre-commit. [ #520 ] ( https://github.com/NeurodataWithoutBorders/nwbinspector/pull/520 )
1818
19+ ### Fixes
20+ * Fixed incorrect error message for OptogeneticStimulusSite. [ #524 ] ( https://github.com/NeurodataWithoutBorders/nwbinspector/pull/524 )
1921
2022
2123# v0.5.2
Original file line number Diff line number Diff line change @@ -16,4 +16,4 @@ def check_optogenetic_stimulus_site_has_optogenetic_series(
1616 if obj .site == ogen_site :
1717 return None
1818
19- return InspectorMessage (message = "OptogeneticStimulusSite is not referenced by any OptogeneticStimulusSite ." )
19+ return InspectorMessage (message = "OptogeneticStimulusSite is not referenced by any OptogeneticSeries ." )
Original file line number Diff line number Diff line change @@ -39,5 +39,5 @@ def test_check_pass(self):
3939 def test_check_triggered (self ):
4040 assert (
4141 check_optogenetic_stimulus_site_has_optogenetic_series (self .ogen_site ).message
42- == "OptogeneticStimulusSite is not referenced by any OptogeneticStimulusSite ."
42+ == "OptogeneticStimulusSite is not referenced by any OptogeneticSeries ."
4343 )
You can’t perform that action at this time.
0 commit comments