From 222a94906d929cf3e714a34ce6e3f2759f327ff3 Mon Sep 17 00:00:00 2001 From: Michael Hanke Date: Mon, 29 Nov 2010 14:11:02 -0500 Subject: [PATCH] Prefix with DOI query URL if DOI is used as publication URL --- neurodebian/dde.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5