From 0cf64819f46b1c16178bfe60ef859533e3dba02e Mon Sep 17 00:00:00 2001 From: Yuichi Motoyama Date: Fri, 1 Nov 2024 14:16:50 +0900 Subject: [PATCH] run on ubuntu 22 --- .github/workflows/Test_abICS.yml | 4 ++-- abics/applications/latgas_abinitio_interface/aenet_trainer.py | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/Test_abICS.yml b/.github/workflows/Test_abICS.yml index 607d412c..97e87606 100644 --- a/.github/workflows/Test_abICS.yml +++ b/.github/workflows/Test_abICS.yml @@ -8,10 +8,10 @@ on: [push] jobs: build: - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 strategy: matrix: - python-version: ['3.7', '3.8', '3.9', '3.10', '3.11'] + python-version: ['3.10'] testname: [Unit, Sampling, ActiveLearn] fail-fast: false diff --git a/abics/applications/latgas_abinitio_interface/aenet_trainer.py b/abics/applications/latgas_abinitio_interface/aenet_trainer.py index e915229b..f7452499 100644 --- a/abics/applications/latgas_abinitio_interface/aenet_trainer.py +++ b/abics/applications/latgas_abinitio_interface/aenet_trainer.py @@ -127,10 +127,11 @@ def train(self, train_dir = "train"): os.path.join(os.getcwd(), "aenet.train"), ) # command = self.train_exe + " train.in" - # print(os.getcwd()) + print(os.getcwd()) # print(command) # print(os.path.exists("train.in")) + print(self.train_exe) while True: # Repeat until test set error begins to rise with open(os.path.join(os.getcwd(), "stdout"), "w") as fi: