changeset 31:79178c8f1252 draft default tip

planemo upload for repository https://github.com/peterjc/pico_galaxy/tree/master/tools/seq_select_by_id commit d67596914a7bbe183851437eaafe8c7305877e5a-dirty
author peterjc
date Fri, 22 Feb 2019 10:27:13 -0500
parents b1e322f39f6c
children
files tools/seq_select_by_id/seq_select_by_id.py tools/seq_select_by_id/tool_dependencies.xml
diffstat 2 files changed, 10 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/tools/seq_select_by_id/seq_select_by_id.py	Fri Nov 09 11:13:47 2018 -0500
+++ b/tools/seq_select_by_id/seq_select_by_id.py	Fri Feb 22 10:27:13 2019 -0500
@@ -33,7 +33,9 @@
 try:
     tabular_file, col_arg, in_file, seq_format, out_file = sys.argv[1:]
 except ValueError:
-    sys.exit("Expected five arguments, got %i:\n%s" % (len(sys.argv) - 1, " ".join(sys.argv)))
+    sys.exit(
+        "Expected five arguments, got %i:\n%s" % (len(sys.argv) - 1, " ".join(sys.argv))
+    )
 try:
     if col_arg.startswith("c"):
         column = int(col_arg[1:]) - 1
@@ -76,8 +78,10 @@
             field = line.rstrip("\n").split("\t")[col].strip()
             parts = field.split(None, 1)
             if len(parts) > 1 and not warn:
-                warn = "WARNING: Some of your identifiers had white space in them, " + \
-                       "using first word only. e.g.:\n%s\n" % field
+                warn = (
+                    "WARNING: Some of your identifiers had white space in them, "
+                    + "using first word only. e.g.:\n%s\n" % field
+                )
             yield parts[0]
     handle.close()
     if warn:
--- a/tools/seq_select_by_id/tool_dependencies.xml	Fri Nov 09 11:13:47 2018 -0500
+++ b/tools/seq_select_by_id/tool_dependencies.xml	Fri Feb 22 10:27:13 2019 -0500
@@ -1,6 +1,6 @@
-<?xml version="1.0"?>
+<?xml version="1.0" ?>
 <tool_dependency>
     <package name="biopython" version="1.67">
-        <repository changeset_revision="fc45a61abc2f" name="package_biopython_1_67" owner="biopython" toolshed="https://testtoolshed.g2.bx.psu.edu" />
+        <repository changeset_revision="fc45a61abc2f" name="package_biopython_1_67" owner="biopython" toolshed="https://testtoolshed.g2.bx.psu.edu"/>
     </package>
-</tool_dependency>
+</tool_dependency>
\ No newline at end of file