Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Sep 25, 2024
1 parent 84256d6 commit bec152d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions aiida_nanotech_empa/workflows/gaussian/nics_workchain.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
from .relax_workchain import GaussianRelaxWorkChain
from .scf_workchain import GaussianScfWorkChain


@engine.calcfunction
def prepare_nmr_structure(structure, height):
ase_geo = structure.get_ase()
Expand Down
4 changes: 3 additions & 1 deletion examples/workflows/example_gaussian_nics.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import pathlib

import click
import numpy as np
from aiida import engine, orm
Expand All @@ -10,7 +11,8 @@

GaussianNicsWorkChain = WorkflowFactory("nanotech_empa.gaussian.nics")
DATA_DIR = pathlib.Path(__file__).parent.absolute()
GEO_FILE="naphthalene.xyz"
GEO_FILE = "naphthalene.xyz"


def _example_gaussian_nics(gaussian_code, opt):
# Check test geometry is already in database.
Expand Down

0 comments on commit bec152d

Please sign in to comment.