From a9099c2586c804849e55a6c28d63dfba571e9bd4 Mon Sep 17 00:00:00 2001 From: Matthias Bernt Date: Thu, 14 Oct 2021 18:04:35 +0200 Subject: [PATCH] add file_ext property to Pretext otherwise sniffing does not work --- lib/galaxy/datatypes/binary.py | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/galaxy/datatypes/binary.py b/lib/galaxy/datatypes/binary.py index 133a4b3a381..f83058911f8 100644 --- a/lib/galaxy/datatypes/binary.py +++ b/lib/galaxy/datatypes/binary.py @@ -3152,6 +3152,7 @@ class Pretext(Binary): >>> Pretext().sniff(fname) True """ + file_ext = "pretext" def sniff_prefix(self, sniff_prefix): # The first 4 bytes of any pretext file is 'pstm', and the rest of the