From: W. Trevor King Date: Mon, 2 Apr 2012 13:19:59 +0000 (-0400) Subject: Update SOAP URLS in entrez.py. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=6de0bad417ed84029841fab14dce216cc8991bf4;p=blog.git Update SOAP URLS in entrez.py. --- diff --git a/posts/entrez/entrez.py b/posts/entrez/entrez.py index b02a32c..671c6b4 100755 --- a/posts/entrez/entrez.py +++ b/posts/entrez/entrez.py @@ -1,7 +1,7 @@ #!/usr/bin/env python # # Copyright (C) 1998-2004 Frederic Gobry -# Copyright (C) 2008-2011 W. Trevor King +# Copyright (C) 2008-2012 W. Trevor King # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -20,8 +20,8 @@ Before you use this program, read the rules_. -.. _Entrez: http://eutils.ncbi.nlm.nih.gov/entrez/query/static/eutils_help.html -.. _SOAP: http://eutils.ncbi.nlm.nih.gov/entrez/eutils/soap/v2.0/DOC/esoap_help.html +.. _Entrez: http://www.ncbi.nlm.nih.gov/books/NBK25500/ +.. _SOAP: http://www.ncbi.nlm.nih.gov/entrez/query/static/esoap_help.html .. _suds: https://fedorahosted.org/suds/ .. _rules: http://www.ncbi.nlm.nih.gov/entrez/query/static/eutils_help.html#UserSystemRequirements @@ -81,8 +81,8 @@ if _POSIX: __version__ = '0.2' -EUTILS_WSDL_URL = 'http://eutils.ncbi.nlm.nih.gov/soap/v2.0/eutils.wsdl' -EFETCH_WSDL_URL = 'http://eutils.ncbi.nlm.nih.gov/soap/v2.0/efetch_%s.wsdl' +EUTILS_WSDL_URL = 'http://www.ncbi.nlm.nih.gov/entrez/eutils/soap/v2.0/eutils.wsdl' +EFETCH_WSDL_URL = 'http://www.ncbi.nlm.nih.gov/entrez/eutils/soap/v2.0/efetch_%s.wsdl' EFETCH_PLAIN_URL = 'http://eutils.ncbi.nlm.nih.gov/entrez/eutils/efetch.fcgi' NCBI_PLAIN_URL = 'http://www.ncbi.nlm.nih.gov/%s/%s'