Currently the FIP mapper makes assumptions about the patch_cord to fiber connection scheme. See the detailed issue description here: AllenNeuralDynamics/Aind.Physiology.Fip#40.
Ultimately, it'd be preferable for this information to be specified in the extracted fiber metadata. After:
are resolved, we should update the FIP mapper to:
- Remove the hard-coded assumptions about the patch_cord to fiber mapping
- Verify that all referenced fibers exist in the procedures for the given subject
- Verify that the number of active patch cords is less than or equal to the number of implanted fibers
- Verify that no duplicate mappings exist (i.e. each patch cord maps to only one fiber)
Currently the FIP mapper makes assumptions about the patch_cord to fiber connection scheme. See the detailed issue description here: AllenNeuralDynamics/Aind.Physiology.Fip#40.
Ultimately, it'd be preferable for this information to be specified in the extracted fiber metadata. After:
models/fip.jsonto specify patch_cord/fiber connections aind-metadata-extractor#35are resolved, we should update the FIP mapper to: