Closed koustuvsinha closed 4 years ago
Context Issue : https://github.com/ReScience/NeurIPS-2019/issues/31
An even more Pythonic way to achieve the same solution would be:
if article.code.doi:
I just encountered the bug and fixed but the fix by @ThomasA would have been better. Care to make a PR?
I can do that. It's in my queue...
Thanks.
Thanks for your patience. The simplification is now in #16.
And merged. Thanks.
In publish script,
article.code.doi
is checked for None, where as its an empty string, even when code doi is removed from metadata.yaml. This leads to the following error:Changing it to this logic will solve it: