Skip to content

Commit

Permalink
Add exceptions as comments
Browse files Browse the repository at this point in the history
  • Loading branch information
garrettmflynn committed Apr 5, 2024
1 parent 98c3814 commit f1e4c6b
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions pyflask/manageNeuroconv/manage_neuroconv.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit f1e4c6b

Please sign in to comment.