Unverified Commit d80e60ce authored by Dannon's avatar Dannon Committed by GitHub
Browse files

Merge pull request #5947 from nsoranzo/release_17.05_fix_gatk2_install

[17.05] Resort to os.path.exists() also for paths not ending in .loc
parents 34421966 36a182a6
......@@ -52,10 +52,8 @@ class ToolDataPathFiles(object):
path = os.path.abspath(path)
if path in self.tool_data_path_files:
return True
elif self.tool_data_path not in path:
return os.path.exists(path)
else:
return False
return os.path.exists(path)
class ToolDataTableManager( object ):
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment