mease_elabftw.nwb.validate_pynwb_data

mease_elabftw.nwb.validate_pynwb_data(nwb_metadata)

Generates and validates the nwb_metadata with the pynwb validation tool. This ensures, that only valid nwb data gets passed to the nwb_converter.

Parameters

nwb_metadata (dict) – The dictionary that is due to be exported to nwb_converter

Returns

A bool wether or not the validation was successful.

Return type

bool