From d79717b86e0b6ecf5e540eb939888066b88081de Mon Sep 17 00:00:00 2001 From: nekrut Date: Fri, 16 Feb 2018 15:03:42 -0500 Subject: [PATCH] fixed flake8 errors --- lib/galaxy/datatypes/sequence.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/galaxy/datatypes/sequence.py b/lib/galaxy/datatypes/sequence.py index 3f167ab89b0..46409e02a77 100644 --- a/lib/galaxy/datatypes/sequence.py +++ b/lib/galaxy/datatypes/sequence.py @@ -311,11 +311,13 @@ class Alignment(data.Text): return None raise NotImplementedError("Can't split generic alignment files") + class FastaGz(Sequence, Binary): """Class representing a generic compressed FASTQ sequence""" edam_format = "format_1929" file_ext = "fasta.gz" compressed = True + def sniff(self, filename): """Determines whether the file is in gzip-compressed FASTA format""" if not SNIFF_COMPRESSED_FASTAS: @@ -323,6 +325,7 @@ class FastaGz(Sequence, Binary): if not is_gzip(filename): return False return Sequence.sniff(self, filename) + class Fasta(Sequence): """Class representing a FASTA sequence"""