diff --git a/qcengine/programs/nwchem/runner.py b/qcengine/programs/nwchem/runner.py index fa3c59fb..7c822339 100644 --- a/qcengine/programs/nwchem/runner.py +++ b/qcengine/programs/nwchem/runner.py @@ -104,13 +104,13 @@ def get_version(self) -> str: success, output = execute(command, {"v.nw": ""}, scratch_directory=config.scratch_directory) if success: - print("REV", output["stdout"]) for line in output["stdout"].splitlines(): if "nwchem branch" in line: branch = line.strip().split()[-1] if "nwchem revision" in line: - revision = line.strip().split()[-1] - self.version_cache[which_prog] = safe_version(branch + "+" + revision) + revision = "+" + line.strip().split()[-1] + revision = "" if (revision == "+N/A") else revision + self.version_cache[which_prog] = safe_version(branch + revision) else: raise UnknownError(output["stderr"])