cbrnr / mnelab

MNELAB – a GUI for MNE
BSD 3-Clause "New" or "Revised" License
239 stars 69 forks source link

Fix XDF marker stream detection #345

Closed cbrnr closed 2 years ago

cbrnr commented 2 years ago

Some marker streams have not been detected correctly, because we switched the nominal sampling rate to float, but still compared everything with strings (i.e. '0.00000' == '0'). This PR fixes this comparison by comparing numbers instead of strings.