Error with namelist authentification
Hello,
On line 29 of read_namelist_chease
,
if isempty(varargin{1}) || varargin{1}==1
def_nam = 'default_namelist_chease_expeq';
if I provide a path for the namelist such that:
varargin{1} = '/tmp/contre/default_namelist_chease_eqdsk'
it throws an error because isempty(varargin{1})
is a 1x1 logical while varargin{1}==1
is a 1x41 logical (since it is a string of characters). I can suggest a quick fix, except if I am doing something wrong here?
@osauter
Edited by Cassandre Ekta Contré