NeurodataWithoutBorders / matnwb

A Matlab interface for reading and writing NWB files
BSD 2-Clause "Simplified" License
48 stars 32 forks source link

588 Add check on file export to ensure all required properties are filled out #600

Closed ehennestad closed 3 weeks ago

ehennestad commented 2 months ago

Fix #588

Motivation

Check that all required properties are filled out before nwb file is exported

How to test the behavior?

nwb=NwbFile();
nwbExport(nwb, 'test.nwb')

Checklist

codecov[bot] commented 2 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 90.90%. Comparing base (5cd6af6) to head (99d8b42). Report is 1 commits behind head on master.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #600 +/- ## ========================================== + Coverage 90.56% 90.90% +0.34% ========================================== Files 107 107 Lines 4695 4751 +56 ========================================== + Hits 4252 4319 +67 + Misses 443 432 -11 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

ehennestad commented 3 weeks ago

@bendichter Some fixes to the workflows from the previous PR got included here.