# HG changeset patch # User richard-burhans # Date 1720634434 0 # Node ID 34d51e66256cdbecf8784357b9113c164b84253b # Parent a68e128cdb1a5445a33ec9a623d8b4b94af3617b planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/batched_lastz commit 2ab3532f7a45153eb0f945ac22c37cdcaea8c1e1 diff -r a68e128cdb1a -r 34d51e66256c batched_lastz.xml --- a/batched_lastz.xml Wed May 01 19:09:34 2024 +0000 +++ b/batched_lastz.xml Wed Jul 10 18:00:34 2024 +0000 @@ -17,10 +17,16 @@ - + + + + + + + diff -r a68e128cdb1a -r 34d51e66256c run_lastz_tarball.py --- a/run_lastz_tarball.py Wed May 01 19:09:34 2024 +0000 +++ b/run_lastz_tarball.py Wed Jul 10 18:00:34 2024 +0000 @@ -8,12 +8,12 @@ import queue import re import shutil +import subprocess import sys -import subprocess import tarfile import tempfile +import time import typing -import time lastz_output_format_regex = re.compile( @@ -69,7 +69,7 @@ if stderr is not None: try: statinfo = os.stat(stderr, follow_symlinks=False) - except: + except Exception: statinfo = None if statinfo is None: @@ -305,6 +305,7 @@ for file_type, file_list in self.output_files.items(): with open(f"output.{file_type}", "w") as ofh: + print("##maf version=1", file=ofh) for filename in file_list: with open(f"galaxy/files/{filename}") as ifh: for line in ifh: diff -r a68e128cdb1a -r 34d51e66256c test-data/input.tgz Binary file test-data/input.tgz has changed diff -r a68e128cdb1a -r 34d51e66256c test-data/output.maf.gz Binary file test-data/output.maf.gz has changed