OSOceanAcoustics / echopype

Enabling interoperability and scalability in ocean sonar data analysis
https://echopype.readthedocs.io/
Apache License 2.0
96 stars 72 forks source link

Fix error parsing integer in frequency-differencing equation #1278

Closed leewujung closed 6 months ago

leewujung commented 6 months ago

This PR fixes the bug that the current equation parsing regex pattern does not parse frequencies expressed as integers and not floats.

Two tests re added: one with mixed integers and floats, and one with all integers.