From 653595aa79ffc368eded06ee8b4e9982d954f0d6 Mon Sep 17 00:00:00 2001 From: abachma2 Date: Tue, 30 May 2023 13:54:35 -0500 Subject: [PATCH] remove unused imports, address changes from @nsryan2 --- input/haleu/optimization/once-through/moga_driver.py | 6 ++---- .../once-through/moga_tuning/moga_tuning_driver.py | 7 +------ .../haleu/optimization/once-through/moga_tuning/tuning.py | 4 +--- 3 files changed, 4 insertions(+), 13 deletions(-) diff --git a/input/haleu/optimization/once-through/moga_driver.py b/input/haleu/optimization/once-through/moga_driver.py index 650b85b2..32374f62 100644 --- a/input/haleu/optimization/once-through/moga_driver.py +++ b/input/haleu/optimization/once-through/moga_driver.py @@ -1,14 +1,12 @@ import numpy as np -import subprocess import dakota.interfacing as di import sys -import os -from turtle import up + sys.path.append('../../../../scripts') import create_AR_DeployInst as cdi import output_metrics as oup import dakota_input as inp -# import output as oup + # ---------------------------- # Parse Dakota parameters file # ---------------------------- diff --git a/input/haleu/optimization/once-through/moga_tuning/moga_tuning_driver.py b/input/haleu/optimization/once-through/moga_tuning/moga_tuning_driver.py index aebb1d82..894a57c1 100644 --- a/input/haleu/optimization/once-through/moga_tuning/moga_tuning_driver.py +++ b/input/haleu/optimization/once-through/moga_tuning/moga_tuning_driver.py @@ -1,14 +1,11 @@ import numpy as np -import subprocess import dakota.interfacing as di import sys -import os -from turtle import up + sys.path.append('../../../../../scripts') import create_AR_DeployInst as cdi import output_metrics as oup import dakota_input as inp -# import output as oup # ---------------------------- # Parse Dakota parameters file # ---------------------------- @@ -95,5 +92,3 @@ 'Xe-100':'spent_xe100_haleu', 'VOYGR':'spent_smr_fuel'}) results.write() - -#os.system('rm ' + output_sqlite) diff --git a/input/haleu/optimization/once-through/moga_tuning/tuning.py b/input/haleu/optimization/once-through/moga_tuning/tuning.py index f627ede2..9b6acd20 100644 --- a/input/haleu/optimization/once-through/moga_tuning/tuning.py +++ b/input/haleu/optimization/once-through/moga_tuning/tuning.py @@ -1,7 +1,5 @@ -import numpy as np import sys -import os -from random import uniform + sys.path.append('../../../../../scripts') import dakota_input as inp