# HG changeset patch # User bgruening # Date 1528321070 14400 # Node ID 3e94608891df7b86fc0d8bf5433122f1f796abf8 # Parent 88b7e9c5c1e6342b08cc859f8381f76b229dc76e planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 64158f357e708f0b60d2669d92d614f7aee34c0e diff -r 88b7e9c5c1e6 -r 3e94608891df main_macros.xml --- a/main_macros.xml Tue Jun 05 06:40:07 2018 -0400 +++ b/main_macros.xml Wed Jun 06 17:37:50 2018 -0400 @@ -7,6 +7,9 @@ if c_option == 'by_index_number': cols = list(map(lambda x: x - 1, c)) data = data.iloc[:,cols] + if c_option == 'all_but_by_index_number': + cols = list(map(lambda x: x - 1, c)) + data.drop(data.columns[cols], axis=1, inplace=True) y = data.values if return_df: return y, data @@ -443,16 +446,17 @@ - - - --> + + + +