Skip to content

Commit 7f6973a

Browse files
authored
Merge pull request #750 from OpenKnowledgeMaps/hierarchical-clustering-bugfix
hypothesis annotation bugfix
2 parents a2402af + 3a265b1 commit 7f6973a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

server/workers/base/src/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ def run(self):
187187
self.logger.error(e)
188188

189189
pattern_doi = re.compile(r"\.v(\d)+$")
190-
pattern_annotations = re.compile(r'([A-Za-z]+:[\w ]+);?')
190+
pattern_annotations = re.compile(r"([A-Za-z]+:[\w'\- ]+);?")
191191

192192
def find_version_in_doi(doi):
193193
m = pattern_doi.findall(doi)

0 commit comments

Comments
 (0)