Mercurial > repos > bgruening > scipy_sparse
comparison sparse.xml @ 21:f9a2fe161db4 draft
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 2a058459e6daf0486871f93845f00fdb4a4eaca1
author | bgruening |
---|---|
date | Sat, 29 Sep 2018 07:40:21 -0400 |
parents | bf3a5f8a66a2 |
children | 4efd73be98bb |
comparison
equal
deleted
inserted
replaced
20:60945fb5d650 | 21:f9a2fe161db4 |
---|---|
34 sparse_iter.append(mmread(sparse_path)) | 34 sparse_iter.append(mmread(sparse_path)) |
35 #end for | 35 #end for |
36 | 36 |
37 my_function = getattr(sparse, params["sparse_functions"]["selected_function"]) | 37 my_function = getattr(sparse, params["sparse_functions"]["selected_function"]) |
38 my_sparse = my_function(sparse_iter) | 38 my_sparse = my_function(sparse_iter) |
39 with open("$outfile", "w+") as out_handler: | 39 with open("$outfile", "wb") as out_handler: |
40 mmwrite(out_handler, my_sparse) | 40 mmwrite(out_handler, my_sparse) |
41 ]]> | 41 ]]> |
42 </configfile> | 42 </configfile> |
43 </configfiles> | 43 </configfiles> |
44 <inputs> | 44 <inputs> |