Repository 'hd'
hg clone https://toolshed.g2.bx.psu.edu/repos/mheinzl/hd

Changeset 32:b432cfa895ee (2019-08-19)
Previous changeset 31:8beced3064e3 (2019-08-14)
Commit message:
planemo upload for repository https://github.com/monikaheinzl/duplexanalysis_galaxy/tree/master/tools/hd commit 033dd7b750f68e8aa68f327d7d72bd311ddbee4e-dirty
modified:
hd.py
hd.xml
b
diff -r 8beced3064e3 -r b432cfa895ee hd.py
--- a/hd.py Wed Aug 14 03:49:32 2019 -0400
+++ b/hd.py Mon Aug 19 15:12:10 2019 -0400
[
@@ -1140,7 +1140,7 @@
                 sample_half_b = tag1[len(tag1) / 2:len(tag1)]
 
                 max_tags = data_chimeraAnalysis[i, 1]
-                if len(max_tags) > 1 and len(max_tags) !=  len(data_chimeraAnalysis[0, 1]) and type(max_tags) is not numpy.ndarray :
+                if len(max_tags) > 1 and len(max_tags) != len(data_array[0, 1]) and type(max_tags) is not numpy.ndarray:
                     max_tags = numpy.concatenate(max_tags)
                 max_tags = numpy.unique(max_tags)
                 stat_maxTags.append(len(max_tags))
b
diff -r 8beced3064e3 -r b432cfa895ee hd.xml
--- a/hd.xml Wed Aug 14 03:49:32 2019 -0400
+++ b/hd.xml Mon Aug 19 15:12:10 2019 -0400
b
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<tool id="hd" name="HD:" version="1.0.3">
+<tool id="hd" name="HD:" version="1.0.4">
     <description>hamming distance analysis of duplex tags</description>
     <requirements>
         <requirement type="package" version="2.7">python</requirement>