changeset 4:7c4a3e737e08 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:31:11 -0400
parents 0ab9b5af30e7
children cc098732daf6
files README.rst create_account.py create_features_from_gff3.py create_features_from_gff3.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:32 2017 -0400
+++ b/README.rst	Mon Mar 12 06:31:11 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:32 2017 -0400
+++ b/create_account.py	Mon Mar 12 06:31:11 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:32 2017 -0400
+++ b/create_features_from_gff3.py	Mon Mar 12 06:31:11 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_features_from_gff3.xml	Wed Sep 20 09:42:32 2017 -0400
+++ b/create_features_from_gff3.xml	Mon Mar 12 06:31:11 2018 -0400
@@ -1,5 +1,5 @@
 <?xml version="1.0"?>
-<tool id="feat_from_gff3" name="GFF3 to Apollo Annotations" version="0.9">
+<tool id="feat_from_gff3" name="GFF3 to Apollo Annotations" version="1.0">
   <description></description>
   <macros>
     <import>macros.xml</import>
--- a/export.py	Wed Sep 20 09:42:32 2017 -0400
+++ b/export.py	Mon Mar 12 06:31:11 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:32 2017 -0400
+++ b/macros.xml	Mon Mar 12 06:31:11 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:32 2017 -0400
+++ b/webapollo.py	Mon Mar 12 06:31:11 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: