Mercurial > repos > peterjc > mira4_assembler
diff tools/mira4_0/mira4.py @ 38:cee8f9005e43 draft
planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira4_0 commit 206259620376b322fc8ed99a6efdd3712f38764b
author | peterjc |
---|---|
date | Wed, 11 Jul 2018 12:35:35 -0400 |
parents | 259891fce7fd |
children | bbf14bb9607b |
line wrap: on
line diff
--- a/tools/mira4_0/mira4.py Thu May 31 04:30:47 2018 -0400 +++ b/tools/mira4_0/mira4.py Wed Jul 11 12:35:35 2018 -0400 @@ -1,6 +1,5 @@ #!/usr/bin/env python -"""A simple wrapper script to call MIRA and collect its output. -""" +"""A simple wrapper script to call MIRA and collect its output.""" from __future__ import print_function @@ -152,7 +151,7 @@ def collect_output(temp, name, handle): - """Moves files to the output filenames (global variables).""" + """Move files to the output filenames (global variables).""" f = "%s/%s_assembly/%s_d_results" % (temp, name, name) if not os.path.isdir(f): log_manifest(manifest) @@ -207,6 +206,7 @@ def clean_up(temp, name): + """Remove temp files.""" folder = "%s/%s_assembly" % (temp, name) if os.path.isdir(folder): shutil.rmtree(folder)