# HG changeset patch # User iuc # Date 1674470214 0 # Node ID ad1e5225bca42030cf8d73d71a3a9f2160cec3d2 # Parent 9a9c5027ea7ca731aa1372b4dfc06411ec036b06 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_eutils commit 41f5eb8e0aee5b779d618b5178098c4be89a9ef1 diff -r 9a9c5027ea7c -r ad1e5225bca4 efetch.py --- a/efetch.py Sat Nov 27 09:53:08 2021 +0000 +++ b/efetch.py Mon Jan 23 10:36:54 2023 +0000 @@ -102,7 +102,7 @@ os.rename(relpath, 'downloads/%s' % (file)) if problem is not None: - raise(problem) + raise problem else: merged_ids = c.parse_ids(args.id_list, args.id, args.history_file, args.id_xml, args.id_json) diff -r 9a9c5027ea7c -r ad1e5225bca4 eutils.py --- a/eutils.py Sat Nov 27 09:53:08 2021 +0000 +++ b/eutils.py Mon Jan 23 10:36:54 2023 +0000 @@ -176,7 +176,7 @@ except Exception as e: print("Error parsing...") print(xml_str) - raise(e) + raise e return history @@ -221,7 +221,7 @@ except Exception as e: print("Error parsing...") print(xml_str) - raise(e) + raise e return histories diff -r 9a9c5027ea7c -r ad1e5225bca4 macros.xml --- a/macros.xml Sat Nov 27 09:53:08 2021 +0000 +++ b/macros.xml Mon Jan 23 10:36:54 2023 +0000 @@ -2,7 +2,7 @@ 18.01 1.70 - 2 + 3 @TOOL_VERSION@+galaxy@VERSION_SUFFIX@ --user_email "$__user_email__" diff -r 9a9c5027ea7c -r ad1e5225bca4 test-data/pubmed.metadata.xml --- a/test-data/pubmed.metadata.xml Sat Nov 27 09:53:08 2021 +0000 +++ b/test-data/pubmed.metadata.xml Mon Jan 23 10:36:54 2023 +0000 @@ -1,5 +1,7 @@ +<\?xml version=\"1\.0\" encoding=\"UTF-8\" \?> + - - pubmed - PubMed - PubMed bibliographic record +\s* +\s*pubmed +\s*PubMed +\s*PubMed bibliographic record \ No newline at end of file