diff --git a/pyflask/manageNeuroconv/manage_neuroconv.py b/pyflask/manageNeuroconv/manage_neuroconv.py index 16e172f87..480bb158a 100644 --- a/pyflask/manageNeuroconv/manage_neuroconv.py +++ b/pyflask/manageNeuroconv/manage_neuroconv.py @@ -783,6 +783,20 @@ def update_conversion_progress(**kwargs): ] del ecephys_metadata["ElectrodeColumns"] + + # from neuroconv.utils import NWBMetaDataEncoder + # from neuroconv.datainterfaces.ecephys.basesortingextractorinterface import BaseSortingExtractorInterface + + # def raise_property_list(name, sorting_interface): + # properties = list(sorting_interface.sorting_extractor.get_property_keys()) + # raise Exception(f"{name}: {properties}") + + # # Map sorting interfaces to metadata + # map_interfaces(BaseSortingExtractorInterface, raise_property_list, converter) + + # metadata = converter.get_metadata() + # raise Exception(json.loads(json.dumps(resolved_metadata, cls=NWBMetaDataEncoder))) + # Actually run the conversion converter.run_conversion( metadata=resolved_metadata,