When I try to run the example from the README.md, I get an error:
from parser.irdi_parser import IRDIParser
parser = IRDIParser()
irdi = '1234-ABCD-#12-ABCDEF#1'
result = parser.parse(irdi)
print(result)
>>> result = parser.parse(irdi)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/sebastian/git-projects/github.com/s-heppner/semantic_id_resolver/venv/lib/python3.11/site-packages/parser/irdi_parser.py", line 30, in parse
raise ValueError(f"Invalid IRDI format: {irdi}")
ValueError: Invalid IRDI format: 1234-ABCD-#12-ABCDEF#1
Could it be that there is some bug in the pattern?
When I try to run the example from the
README.md, I get an error:Could it be that there is some bug in the pattern?