add sanity check on plumed pre-installed path location
This commit is contained in:
@ -75,6 +75,8 @@ if pathflag:
|
|||||||
if not os.path.isdir(plumedpath):
|
if not os.path.isdir(plumedpath):
|
||||||
sys.exit("Plumed2 path %s does not exist" % plumedpath)
|
sys.exit("Plumed2 path %s does not exist" % plumedpath)
|
||||||
homedir = fullpath(plumedpath)
|
homedir = fullpath(plumedpath)
|
||||||
|
if not os.path.isdir(os.path.join(homedir, 'include', 'plumed', 'core')):
|
||||||
|
sys.exit("No Plumed2 installation found at %s" % plumedpath)
|
||||||
|
|
||||||
# download and unpack plumed2 tarball
|
# download and unpack plumed2 tarball
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user