Skip to content
Snippets Groups Projects
Commit 7ff9ef36 authored by Yoann Guilhem's avatar Yoann Guilhem Committed by Nicola Vigano
Browse files

Bugfix for gtTIFVolWriter

git-svn-id: https://svn.code.sf.net/p/dct/code/trunk@946 4c865b51-4357-4376-afb4-474e03ccb993
parent f6b94bb3
No related branches found
No related tags found
No related merge requests found
......@@ -190,7 +190,7 @@ tifTag.Software = 'matlabDCT';
% Guessing output directory, filename and extension
[fpath, fname, fext] = fileparts(filename);
% Trick to handle ~ path in unix
if fpath(1)=='~' && isunix()
if ~isempty(fpath) && isunix && fpath(1)=='~'
fpath(1) = '';
fpath = fullfile(getenv('HOME'), fpath);
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment