From: Michael Hanke Date: Mon, 29 Nov 2010 19:11:02 +0000 (-0500) Subject: Prefix with DOI query URL if DOI is used as publication URL X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=222a94906d929cf3e714a34ce6e3f2759f327ff3;p=neurodebian.git Prefix with DOI query URL if DOI is used as publication URL --- diff --git a/neurodebian/dde.py b/neurodebian/dde.py index e2084e4..e96e366 100755 --- a/neurodebian/dde.py +++ b/neurodebian/dde.py @@ -233,7 +233,7 @@ def import_blendstask(cfg, db, url): pub['doi'] = st['Published-DOI'] # need at least one URL if not pub.has_key('url'): - pub['url'] = st['Published-DOI'] + pub['url'] = "http://dx.doi.org/%s" % st['Published-DOI'] db[p]['main']['publication'] = pub