# HG changeset patch # User iuc # Date 1668423260 0 # Node ID 3bf5661c0280fce709f2a799120f97adc3bba429 # Parent 93a3ce78ce557a283bbb223fcb8f043281283759 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/table_compute commit f0fd699a4e713c57ab7d3d9d8cbb18b41aa6c7cd diff -r 93a3ce78ce55 -r 3bf5661c0280 scripts/table_compute.py --- a/scripts/table_compute.py Tue Apr 20 15:46:10 2021 +0000 +++ b/scripts/table_compute.py Mon Nov 14 10:54:20 2022 +0000 @@ -57,7 +57,7 @@ for col in data.columns] data.index = [row.strip() if type(row) is str else row for row in data.index] - return(data) + return data @staticmethod def rangemaker(tab): @@ -106,8 +106,8 @@ err_mess = "%s should not be equal or contain a zero" % nums if err_mess: print(err_mess) - return(None) - return(out) + return None + return out # Set decimal precision @@ -318,7 +318,7 @@ pivot_values = params["PIVOT"]["pivot_values"] pivot_aggfunc = params["PIVOT"]["pivot_aggfunc"] - if not(pivot_aggfunc): + if not pivot_aggfunc: out_table = data.pivot( index=pivot_index, columns=pivot_column, values=pivot_values ) diff -r 93a3ce78ce55 -r 3bf5661c0280 table_compute.xml --- a/table_compute.xml Tue Apr 20 15:46:10 2021 +0000 +++ b/table_compute.xml Mon Nov 14 10:54:20 2022 +0000 @@ -1204,7 +1204,7 @@ - +
@@ -1227,7 +1227,7 @@ - +