diff fsd.py @ 12:9033fd840986 draft

planemo upload for repository https://github.com/monikaheinzl/galaxyProject/tree/master/tools/fsd commit c55872ebd7721a33174a56124bcd5d6ec1dc20a9
author mheinzl
date Wed, 23 May 2018 14:52:52 -0400
parents b615c7e51f40
children 2921d77df2ee
line wrap: on
line diff
--- a/fsd.py	Tue May 15 14:22:43 2018 -0400
+++ b/fsd.py	Wed May 23 14:52:52 2018 -0400
@@ -227,7 +227,7 @@
        output_file.write("\nFamily size")
        for i in label:
            output_file.write("{}{}".format(sep, i))
-       output_file.write("{}sum".format(sep))
+      # output_file.write("{}sum".format(sep))
        output_file.write("\n")
        j = 0
        for fs in counts[1][0:len(counts[1]) - 1]:
@@ -236,15 +236,15 @@
            else:
                fs = "={}".format(fs)
            output_file.write("FS{}{}".format(fs, sep))
-           values_of_fs = []
+          # values_of_fs = []
            if len(label) == 1:
                output_file.write("{}{}".format(int(counts[0][j]), sep))
-               values_of_fs.append(int(counts[0][j]))
+           #    values_of_fs.append(int(counts[0][j]))
            else:
                for n in range(len(label)):
                    output_file.write("{}{}".format(int(counts[0][n][j]), sep))
-                   values_of_fs.append(int(counts[0][n][j]))
-           output_file.write("{}\n".format(sum(values_of_fs)))
+           #        values_of_fs.append(int(counts[0][n][j]))
+           #output_file.write("{}\n".format(sum(values_of_fs)))
            j += 1
        output_file.write("sum{}".format(sep))
        values_for_sum = []