From 863fefef0f8932dfc3ddc057859ef9288b65a75c Mon Sep 17 00:00:00 2001 From: John Chilton Date: Tue, 6 Mar 2018 19:18:59 -0500 Subject: [PATCH] Fix for data_fetch sniffing. --- lib/galaxy/tools/data_fetch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/galaxy/tools/data_fetch.py b/lib/galaxy/tools/data_fetch.py index c6a2b7f6c610..858d0c8d2349 100644 --- a/lib/galaxy/tools/data_fetch.py +++ b/lib/galaxy/tools/data_fetch.py @@ -142,7 +142,7 @@ def _resolve_src(item): line_count, converted_path = sniff.sep2tabs(path, in_place=in_place, tmp_dir=".") if requested_ext == 'auto': - ext = sniff.guess_ext(path, registry.sniff_order) + ext = sniff.guess_ext(converted_path or path, registry.sniff_order) else: ext = requested_ext