Skip to content

Commit

Permalink
Fixed regular expression to match the data
Browse files Browse the repository at this point in the history
  • Loading branch information
ramonski committed Jan 22, 2025
1 parent c68c06f commit bebcb12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/senaite/astm/instruments/horiba_pentra_xlr.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
from senaite.astm.mapping import Component

VERSION = "1.0.0"
HEADER_RX = r".*(ABX|LIS).*"
HEADER_RX = r".*(?<=\|)(LIS|ABX)(?=\|).*"


def get_metadata(wrapper):
Expand Down

0 comments on commit bebcb12

Please sign in to comment.