From 2805169885e129feede82f798349c3f5bcf6d02d Mon Sep 17 00:00:00 2001 From: Daniel Bauer Date: Wed, 20 Jun 2018 22:50:28 +0200 Subject: [PATCH] error code fix --- adaptiveumbrella/wham2d.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/adaptiveumbrella/wham2d.py b/adaptiveumbrella/wham2d.py index 28b3b08..a67dc2d 100644 --- a/adaptiveumbrella/wham2d.py +++ b/adaptiveumbrella/wham2d.py @@ -67,7 +67,7 @@ class WHAM2DRunner(UmbrellaRunner): print(cmd) err_code = subprocess.call(cmd, shell=True) if err_code != 0: - print("wham exited with error code {}".format(err_corde)) + print("wham exited with error code {}".format(err_code)) exit(1) def load_wham_pmf(self, wham_file):