mirror of https://github.com/lammps/lammps.git
small programming style cleanup
This commit is contained in:
parent
d01c28002f
commit
cea0855fe4
|
@ -69,7 +69,7 @@ version = args.version
|
|||
suffixflag = args.machine != None
|
||||
suffix = args.machine
|
||||
|
||||
if (pathflag):
|
||||
if pathflag:
|
||||
lattedir = args.path
|
||||
if not os.path.isdir(lattedir): sys.exit("LATTE path %s does not exist" % lattedir)
|
||||
lattedir = fullpath(lattedir)
|
||||
|
|
|
@ -72,7 +72,7 @@ tardir = "MSCG-release-%s" % mscgver
|
|||
homepath = fullpath('.')
|
||||
homedir = "%s/%s" % (homepath,tardir)
|
||||
|
||||
if (pathflag):
|
||||
if pathflag:
|
||||
if not os.path.isdir(mscgpath):
|
||||
sys.exit("MS-CG path %s does not exist" % mscgpath)
|
||||
homedir = fullpath(mscgpath)
|
||||
|
|
|
@ -60,7 +60,7 @@ version = args.version
|
|||
homepath = fullpath(".")
|
||||
scafacospath = "%s/scafacos-%s" % (homepath,version)
|
||||
|
||||
if (pathflag):
|
||||
if pathflag:
|
||||
scafacospath = args.path
|
||||
if not os.path.isdir("%s/include" % scafacospath):
|
||||
sys.exit("ScaFaCoS include path for %s does not exist" % scafacospath)
|
||||
|
|
|
@ -63,7 +63,7 @@ buildflag = args.build
|
|||
pathflag = args.path != None
|
||||
version = args.version
|
||||
|
||||
if (pathflag):
|
||||
if pathflag:
|
||||
eigenpath = args.path
|
||||
if not os.path.isdir(eigenpath): sys.exit("Eigen path %s does not exist" % eigenpath)
|
||||
eigenpath = fullpath(eigenpath)
|
||||
|
|
|
@ -63,7 +63,7 @@ voropath = args.path
|
|||
homepath = fullpath(".")
|
||||
homedir = "%s/%s" % (homepath,version)
|
||||
|
||||
if (pathflag):
|
||||
if pathflag:
|
||||
if not os.path.isdir(voropath):
|
||||
sys.exit("Voro++ path %s does not exist" % voropath)
|
||||
homedir = voropath
|
||||
|
|
Loading…
Reference in New Issue