__lib_path, the default sysmatrix path, pass to _gen_sysmatrix_fname() in two functions.
Users cannot put a sysmatrix in another folder.
We should pass lib_path to _gen_sysmatrix_fname() instead.
Details
In recon(),
sysmatrix_fname = _gen_sysmatrix_fname(lib_path=__lib_path, sysmatrix_name=hash_val[:__namelen_sysmatrix])
In project(),
sysmatrix_fname = _gen_sysmatrix_fname(lib_path=__lib_path, sysmatrix_name=hash_val[:__namelen_sysmatrix])
Description
__lib_path, the default sysmatrix path, pass to _gen_sysmatrix_fname() in two functions. Users cannot put a sysmatrix in another folder. We should pass lib_path to _gen_sysmatrix_fname() instead.
Details
In recon(),
sysmatrix_fname = _gen_sysmatrix_fname(lib_path=__lib_path, sysmatrix_name=hash_val[:__namelen_sysmatrix])
In project(),
sysmatrix_fname = _gen_sysmatrix_fname(lib_path=__lib_path, sysmatrix_name=hash_val[:__namelen_sysmatrix])