Skip to content

Commit

Permalink
fix small bug appeared during PR review
Browse files Browse the repository at this point in the history
  • Loading branch information
comcon1 committed Nov 18, 2024
1 parent 1c33a67 commit 39a059d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
4.41614
6 changes: 3 additions & 3 deletions Scripts/DatabankLib/analyze.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
from DatabankLib import analyze_nmrpca as nmrpca


def computeNMRPCA(system: dict, recompute: bool = False) -> int:
def computeNMRPCA(system: dict, logger: Logger, recompute: bool = False) -> int:
"""Compute eq_times.json using NMR PCA analysis.
Args:
Expand Down Expand Up @@ -111,7 +111,7 @@ def computeNMRPCA(system: dict, recompute: bool = False) -> int:
return RCODE_COMPUTED


def computeAPL(system: dict, recompute: bool = False) -> int:
def computeAPL(system: dict, logger: Logger, recompute: bool = False) -> int:
"""Generate apl.json analysis file for a system.
Args:
Expand Down Expand Up @@ -162,7 +162,7 @@ def computeAPL(system: dict, recompute: bool = False) -> int:
return RCODE_COMPUTED


def computeTH(system: dict, recompute: bool = False) -> int:
def computeTH(system: dict, logger: Logger, recompute: bool = False) -> int:
thickFN = os.path.join(NMLDB_SIMU_PATH, system['path'], 'thickness.json')
if (os.path.isfile(thickFN) and not recompute):
# file exist. Skipping
Expand Down

0 comments on commit 39a059d

Please sign in to comment.