MrMimic/MEDOC

Citation owner and status not being filled correctly

Closed this issue · 0 comments

The two fields in the medline_citation are not being correctly populated.

I applied a patch like this:

     'citation_owner': re.findall('<medlinecitation .*?owner="(.*?)".*?>', str(article)),
     'citation_status': re.findall('<medlinecitation .*?status="([A-Za-z])".*?>', str(article))}