Previous changeset 4:93a3ce78ce55 (2021-04-20) |
Commit message:
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/table_compute commit f0fd699a4e713c57ab7d3d9d8cbb18b41aa6c7cd |
modified:
scripts/table_compute.py table_compute.xml |
b |
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 ) |
b |
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 |
b |
@@ -1204,7 +1204,7 @@ <!-- Test 36: Skip first 3 lines --> <conditional name="singtabop" > <param name="use_type" value="single" /> - <param name="input" value="skiplines.tsv" /> + <param name="input" value="skiplines.tsv" ftype="tabular" /> <section name="adv" > <param name="header" value="2" /> <param name="nrows" value="4" /> @@ -1227,7 +1227,7 @@ <!-- Test 37: Skip first 3 lines --> <conditional name="singtabop" > <param name="use_type" value="single" /> - <param name="input" value="skiplines.tsv" /> + <param name="input" value="skiplines.tsv" ftype="tabular" /> <section name="adv" > <param name="header" value="2" /> <param name="skipfooter" value="2" /> |