You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
deftest_scalp_does_not_errora=VAExtractor.newa.extract('SCALP ')# the 'LP ' will be capturedend
The regular expression incorrectly identifies some text as a potential VA score. If no VA score is found, these will raise an ErrorLateralityNotFound. (E.g., "LP " is captured.)
This can be replicated with the following test:
The regular expression incorrectly identifies some text as a potential VA score. If no VA score is found, these will raise an
ErrorLateralityNotFound
. (E.g., "LP " is captured.)vaextractor/lib/vaextractor.rb
Line 211 in d7c7261
NB: Under the current code, other errors may occur before since boundary conditions aren't checked, but this is the underlying issue. (E.g.,
vaextractor/lib/vaextractor.rb
Line 179 in d7c7261
The text was updated successfully, but these errors were encountered: