changeset 4:aee984715db1 draft

planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/apollo commit 70fbb41d4c6b0a08a7bed4849a5ae7c865e1ab1e
author gga
date Mon, 12 Mar 2018 06:32:08 -0400
parents c1d7a2a21e62
children 696a1962212e
files README.rst create_account.py create_features_from_gff3.py create_or_update_organism.xml export.py macros.xml webapollo.py
diffstat 7 files changed, 10 insertions(+), 16 deletions(-) [+]
line wrap: on
line diff
--- a/README.rst	Wed Sep 20 09:42:49 2017 -0400
+++ b/README.rst	Mon Mar 12 06:32:08 2018 -0400
@@ -15,7 +15,7 @@
 .. code:: bash
 
     . /path/to/galaxy/.venv/bin/activate
-    pip install future biopython bcbio-gff
+    pip install six biopython bcbio-gff
     deactivate
 
 Environment
--- a/create_account.py	Wed Sep 20 09:42:49 2017 -0400
+++ b/create_account.py	Mon Mar 12 06:32:08 2018 -0400
@@ -5,7 +5,7 @@
 import random
 import time
 
-from builtins import range, str
+from six.moves.builtins import str
 
 from webapollo import WAAuth, WebApolloInstance
 
--- a/create_features_from_gff3.py	Wed Sep 20 09:42:49 2017 -0400
+++ b/create_features_from_gff3.py	Mon Mar 12 06:32:08 2018 -0400
@@ -4,9 +4,9 @@
 import sys
 import time
 
-from builtins import str
+from BCBio import GFF
 
-from BCBio import GFF
+from six.moves.builtins import str
 
 from webapollo import AssertUser, GuessOrg, OrgOrGuess, WAAuth, WebApolloInstance, featuresToFeatureSchema, retry
 logging.basicConfig(level=logging.INFO)
--- a/create_or_update_organism.xml	Wed Sep 20 09:42:49 2017 -0400
+++ b/create_or_update_organism.xml	Mon Mar 12 06:32:08 2018 -0400
@@ -1,5 +1,5 @@
 <?xml version="1.0"?>
-<tool id="create_or_update" name="Create or Update Organism" version="3.2">
+<tool id="create_or_update" name="Create or Update Organism" version="3.3">
   <description>will create the organism if it doesn't exist, and update otherwise</description>
   <macros>
     <import>macros.xml</import>
--- a/export.py	Wed Sep 20 09:42:49 2017 -0400
+++ b/export.py	Mon Mar 12 06:32:08 2018 -0400
@@ -9,11 +9,8 @@
 
 from Bio import SeqIO
 
-from future import standard_library
-
 from webapollo import CnOrGuess, GuessCn, WAAuth, WebApolloInstance
 
-standard_library.install_aliases()
 try:
     import StringIO as io
 except ImportError:
--- a/macros.xml	Wed Sep 20 09:42:49 2017 -0400
+++ b/macros.xml	Mon Mar 12 06:32:08 2018 -0400
@@ -6,7 +6,7 @@
       <requirement type="package" version="1.65">biopython</requirement>
       <requirement type="package" version="0.6.2">bcbiogff</requirement>
       <requirement type="package" version="2.12.4">requests</requirement>
-      <requirement type="package" version="0.16.0">future</requirement>
+      <requirement type="package" version="1.11.0">six</requirement>
       <yield/>
     </requirements>
   </xml>
--- a/webapollo.py	Wed Sep 20 09:42:49 2017 -0400
+++ b/webapollo.py	Mon Mar 12 06:32:08 2018 -0400
@@ -6,22 +6,19 @@
 import logging
 import os
 import time
-
 from abc import abstractmethod
-from builtins import next
-from builtins import object
-from builtins import str
 
 from BCBio import GFF
 
 from Bio import SeqIO
 
-from future import standard_library
-
 import requests
 
+from six.moves.builtins import next
+from six.moves.builtins import object
+from six.moves.builtins import str
 
-standard_library.install_aliases()
+
 try:
     import StringIO as io
 except BaseException: