Skip to content

Commit

Permalink
Code style standardization
Browse files Browse the repository at this point in the history
  • Loading branch information
lint-action committed Feb 2, 2023
1 parent 25ecdc4 commit d775d99
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 9 deletions.
1 change: 0 additions & 1 deletion ccinput/calculation.py
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,6 @@ def __init__(
trust_me=False,
**kwargs,
):

self.solvent = get_abs_solvent(solvent, trust_me=trust_me)
if self.solvent != "":
self.solvation_model = solvation_model.lower()
Expand Down
3 changes: 0 additions & 3 deletions ccinput/drivers/pysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@


class PysisDriver:

SUPPORTED_PACKAGES = ["xtb"]

SUPPORTED_KEYWORDS = {
Expand Down Expand Up @@ -93,7 +92,6 @@ def add_section(self, section):
logger.warning(f"Duplicate specifications for section {section} were given")

def handle_specifications(self):

s = self.clean(self.calc.parameters.specifications.lower())

# Duplicate code from ccinput/packages/Gaussian.py
Expand Down Expand Up @@ -132,7 +130,6 @@ def handle_specifications(self):
)

def handle_main_parameters(self):

if self.calc.parameters.software not in self.SUPPORTED_PACKAGES:
raise InvalidParameter(
f"{self.calc.parameters} is not currently supported with the pysis driver"
Expand Down
2 changes: 0 additions & 2 deletions ccinput/packages/gaussian.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@


class GaussianCalculation:

TEMPLATE = """%chk={}.chk
%nproc={}
%mem={}MB
Expand Down Expand Up @@ -102,7 +101,6 @@ def add_commands(self, commands):
self.commands[cmd] = []

def handle_specifications(self):

s = self.clean(self.calc.parameters.specifications.lower())

# Could be more sophisticated to catch other incorrect specifications
Expand Down
1 change: 0 additions & 1 deletion ccinput/packages/orca.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@


class OrcaCalculation:

calc = None

has_scan = False
Expand Down
1 change: 0 additions & 1 deletion ccinput/packages/xtb.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@


class XtbCalculation:

EXECUTABLES = {
CalcType.OPT: "xtb",
CalcType.CONSTR_OPT: "xtb",
Expand Down
1 change: 0 additions & 1 deletion ccinput/wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@ def generate_calculation(
trust_me=False,
**kwargs,
):

if software is None:
raise InvalidParameter("Specify a software package to use")

Expand Down

0 comments on commit d775d99

Please sign in to comment.