# HG changeset patch # User peterjc # Date 1531326860 14400 # Node ID 2bd1f1175fb26f0f466b6bfcddbe08e3647df941 # Parent 7f01823efdd506580acbd02257835901ec493085 planemo upload for repository https://github.com/peterjc/pico_galaxy/tree/master/datatypes/mira_datatypes commit 206259620376b322fc8ed99a6efdd3712f38764b diff -r 7f01823efdd5 -r 2bd1f1175fb2 mira.py --- a/mira.py Mon Apr 02 12:54:44 2018 -0400 +++ b/mira.py Wed Jul 11 12:34:20 2018 -0400 @@ -1,16 +1,15 @@ -""" -MiraAssemblyFormat class for the 'mira' format within Galaxy -""" +"""MiraAssemblyFormat class for the 'mira' format within Galaxy.""" from galaxy.datatypes.data import Text class MiraAssemblyFormat(Text): - """MIRA Assembly Format data""" + """MIRA Assembly Format data.""" + file_ext = "mira" def sniff(self, filename): - """Determines whether the file is a MIRA Assembly Format file. + """Determine if the file is a MIRA Assembly Format file. Note currently this only detects MIRA Assembly Format v2.0, as used in MIRA v3.9 and v4.0. @@ -30,7 +29,10 @@ return True def merge(split_files, output_file): - """Merging multiple MIRA files is non-trivial and may not be possible...""" + """Merge MIRA assembly files (not implemented). + + Merging multiple MIRA files is non-trivial and may not be possible... + """ if len(split_files) == 1: # For one file only, use base class method (move/copy) return Text.merge(split_files, output_file)