Beispiel #1
0
def get_nmag_paths():
    paths = {}
    nmagpath = _get_nmag_path()
    paths['nsimpath'] = get_absolute_librarypath(nsim)[0]
    paths['nmagpath'] = os.path.join(get_absolute_librarypath(nsim)[0],'../nmag')
    paths['realnmagpath'] = os.path.realpath(nmagpath)
    return paths
Beispiel #2
0
def _get_nmag_path():
    nsimpath = get_absolute_librarypath(nsim)[0]
    nmagpath = os.path.join(get_absolute_librarypath(nsim)[0],'../nmag')
    return nmagpath