From d73a86d3658ed2ff7815ba5bd57ae63e527d4381 Mon Sep 17 00:00:00 2001 From: John Chilton Date: Wed, 27 Apr 2016 09:15:05 -0400 Subject: [PATCH] Add a sample sniff test for new Mothur datatype. The existing sniffer tests with the mothur stuff tests the sniffers in isolation - this is more of an integration test that tests the sample datatype configuration for the newly added mothur stuff. --- lib/galaxy/datatypes/sniff.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/galaxy/datatypes/sniff.py b/lib/galaxy/datatypes/sniff.py index ff9584d8b47..3e8b8e04c02 100644 --- a/lib/galaxy/datatypes/sniff.py +++ b/lib/galaxy/datatypes/sniff.py @@ -343,6 +343,9 @@ def guess_ext( fname, sniff_order, is_multi_byte=False ): >>> fname = get_test_fname('5e5z.pdb') >>> guess_ext(fname, sniff_order) 'pdb' + >>> fname = get_test_fname('mothur_datatypetest_true.mothur.otu') + >>> guess_ext(fname, sniff_order) + 'mothur.otu' """ for datatype in sniff_order: """