Mercurial > repos > bgruening > sklearn_sample_generator
diff main_macros.xml @ 7:cd93ef24abb7 draft
planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit 641ac64ded23fbb6fe85d5f13926da12dcce4e76
author | bgruening |
---|---|
date | Tue, 13 Mar 2018 04:50:22 -0400 |
parents | 7d15131814a5 |
children | 956bb8dcde71 |
line wrap: on
line diff
--- a/main_macros.xml Fri Feb 16 14:50:40 2018 -0500 +++ b/main_macros.xml Tue Mar 13 04:50:22 2018 -0400 @@ -2,8 +2,8 @@ <token name="@VERSION@">0.9</token> <token name="@COLUMNS_FUNCTION@"> -def columns(f,c): - data = pandas.read_csv(f, sep='\t', header=None, index_col=None, parse_dates=True, encoding=None, tupleize_cols=False) +def read_columns(f, c, **args): + data = pandas.read_csv(f, **args) cols = c.split (',') cols = map(int, cols) cols = list(map(lambda x: x - 1, cols))