# HG changeset patch # User iuc # Date 1674470198 0 # Node ID ef77a3b01899118c0da11a6331f47a06f40e4740 # Parent 67602de82f6e2ef2cd550670da16bcfabcc81937 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_eutils commit 41f5eb8e0aee5b779d618b5178098c4be89a9ef1 diff -r 67602de82f6e -r ef77a3b01899 efetch.py --- a/efetch.py Sat Nov 27 09:53:36 2021 +0000 +++ b/efetch.py Mon Jan 23 10:36:38 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 67602de82f6e -r ef77a3b01899 eutils.py --- a/eutils.py Sat Nov 27 09:53:36 2021 +0000 +++ b/eutils.py Mon Jan 23 10:36:38 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 67602de82f6e -r ef77a3b01899 macros.xml --- a/macros.xml Sat Nov 27 09:53:36 2021 +0000 +++ b/macros.xml Mon Jan 23 10:36:38 2023 +0000 @@ -2,7 +2,7 @@ 18.01 1.70 - 2 + 3 @TOOL_VERSION@+galaxy@VERSION_SUFFIX@ --user_email "$__user_email__" diff -r 67602de82f6e -r ef77a3b01899 test-data/pubmed.metadata.xml --- a/test-data/pubmed.metadata.xml Sat Nov 27 09:53:36 2021 +0000 +++ b/test-data/pubmed.metadata.xml Mon Jan 23 10:36:38 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