diff --git a/abics/applications/latgas_abinitio_interface/aenet_trainer.py b/abics/applications/latgas_abinitio_interface/aenet_trainer.py index 3011277..b41dc4c 100644 --- a/abics/applications/latgas_abinitio_interface/aenet_trainer.py +++ b/abics/applications/latgas_abinitio_interface/aenet_trainer.py @@ -163,7 +163,10 @@ def train(self, train_dir = "train"): except subprocess.CalledProcessError as e: print(e.stdout) print(e.stderr) - raise + subprocess.run( + self.train_exe, check=True + ) + # raise with open("stdout", "r") as trainout: fullout = trainout.readlines() epoch_data = []