Fixes Player Class Implementation
This commit is contained in:
7
diceplayer/DPpack/External/Dice.py
vendored
7
diceplayer/DPpack/External/Dice.py
vendored
@@ -27,7 +27,6 @@ class Dice:
|
||||
nprocs: int = None
|
||||
randominit = "first"
|
||||
combrule = "*"
|
||||
ncores = 1
|
||||
|
||||
temp = 300.0
|
||||
press = 1.0
|
||||
@@ -35,8 +34,8 @@ class Dice:
|
||||
dens = None
|
||||
ljname = None
|
||||
outname = None
|
||||
nmol: List[int] = []
|
||||
nstep: List[int] = []
|
||||
nmol: List[int] = None
|
||||
nstep: List[int] = None
|
||||
upbuf = 360
|
||||
|
||||
def __init__(self, infile: TextIO, outfile: TextIO) -> None:
|
||||
@@ -46,7 +45,7 @@ class Dice:
|
||||
|
||||
@NotNull(requiredArgs=["ncores", "nmol", "dens", "nstep", "ljname", "outname"])
|
||||
def updateKeywords(self, **data):
|
||||
self.__dict__.update(data)
|
||||
self.__dict__.update(**data)
|
||||
|
||||
def __new_density(self, cycle: int, proc: int) -> float:
|
||||
|
||||
|
||||
7
diceplayer/DPpack/External/Gaussian.py
vendored
7
diceplayer/DPpack/External/Gaussian.py
vendored
@@ -17,21 +17,18 @@ from diceplayer.DPpack.Utils.Validations import NotNull
|
||||
|
||||
class Gaussian:
|
||||
|
||||
qmprog = "g09"
|
||||
mem = None
|
||||
keywords = None
|
||||
chgmult = [0, 1]
|
||||
gmiddle = None # In each case, if a filename is given, its content will be
|
||||
gbottom = None # inserted in the gaussian input
|
||||
pop = "chelpg"
|
||||
level = None
|
||||
|
||||
def __init__(self) -> None:
|
||||
pass
|
||||
|
||||
@NotNull(requiredArgs=["level"])
|
||||
@NotNull(requiredArgs=["qmprog","level"])
|
||||
def updateKeywords(self, **data):
|
||||
self.__dict__.update(data)
|
||||
self.__dict__.update(**data)
|
||||
|
||||
def run_formchk(self, cycle: int, fh: TextIO):
|
||||
|
||||
|
||||
Reference in New Issue
Block a user