Skip to content
Snippets Groups Projects
Closed Error with namelist authentification
  • View options
  • Error with namelist authentification

  • View options
  • Closed Issue created by Cassandre Ekta Contré

    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é

    Linked items ... 0

  • Activity

    • All activity
    • Comments only
    • History only
    • Newest first
    • Oldest first
    Loading Loading Loading Loading Loading Loading Loading Loading Loading Loading