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
Hello! I've been using this library for a while, and I just started testing some functionality I hadn't needed when I noticed that the biorxiv id doesn't currently work as described on the README. If I enter an id expression with a colon in it like "biorxiv:570689", I get an error because the code ends up constructing a DOI with colon in it. I think this is because the regular expression 'biorxiv':'^biorxiv ?|^biorxiv:' in the tests always matches the first expression before the second one. It might just work to swap the two cases in the regex.
The text was updated successfully, but these errors were encountered:
scnerd
pushed a commit
to scnerd/refid2bib
that referenced
this issue
Jul 14, 2020
…. Fixes some instabilities caused by stray whitespace or leading slashes. Reformatted code to be closer to PEP8. Updated tests to use Pytest. Fixed requirements.txt, which was missing the ``requests`` package.
Hello! I've been using this library for a while, and I just started testing some functionality I hadn't needed when I noticed that the biorxiv id doesn't currently work as described on the README. If I enter an id expression with a colon in it like "biorxiv:570689", I get an error because the code ends up constructing a DOI with colon in it. I think this is because the regular expression
'biorxiv':'^biorxiv ?|^biorxiv:'
in thetests
always matches the first expression before the second one. It might just work to swap the two cases in the regex.The text was updated successfully, but these errors were encountered: