# HG changeset patch # User bgruening # Date 1528321361 14400 # Node ID ff955d4fc5b1d4e6e1592baeaa324dc6875549ce # Parent def80fd75326ae2c2e2e78fea45f7cf1a4099c4d planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 64158f357e708f0b60d2669d92d614f7aee34c0e diff -r def80fd75326 -r ff955d4fc5b1 main_macros.xml --- a/main_macros.xml Tue Jun 05 06:46:06 2018 -0400 +++ b/main_macros.xml Wed Jun 06 17:42:41 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 @@ - - - --> + + + +