OSOceanAcoustics / echodataflow

Orchestrated sonar data processing workflow
https://echodataflow.readthedocs.io/en/latest/
MIT License
4 stars 1 forks source link

Validation check for regex in `group_name` attribute #82

Closed Sohambutala closed 4 months ago

Sohambutala commented 4 months ago

We identified an issue where passing a regular expression as group_name, which is intended to be a simple string, results in unexpected behavior. This attribute is crucial as it maps to transect_num and is used by echopype. Although the test workflow did not utilize transect-focused stages like combine_echodata, errors were observed during the compute_Sv stage that was followed by open_raw. This PR aims to address this by implementing a validation check to ensure group_name contains only valid characters.