diff --git a/applications/compute_conditional_mean.py b/applications/compute_conditional_mean.py index 5819b6a1..449609d4 100644 --- a/applications/compute_conditional_mean.py +++ b/applications/compute_conditional_mean.py @@ -2,7 +2,7 @@ from prettyPlot.plotting import plt, pretty_labels -from brd import BRD_COND_MEAN_DATA_DIR +# from brd import BRD_COND_MEAN_DATA_DIR from brd.postProcess.conditional_mean import ( compute_cond_mean, save_cond, @@ -22,7 +22,7 @@ def main(): metavar="", required=True, help="caseFolder to analyze", - default=BRD_COND_MEAN_DATA_DIR, + default="brd/postProcess/data_conditional_mean", ) parser.add_argument( diff --git a/brd/__init__.py b/brd/__init__.py index bfe2c087..f5f0087b 100644 --- a/brd/__init__.py +++ b/brd/__init__.py @@ -20,5 +20,5 @@ BRD_MESH_DIR, "stir_tank_case_templates" ) BRD_EARLY_PRED_DATA_DIR = os.path.join(BRD_POST_DIR, "data_early") -BRD_COND_MEAN_DATA_DIR = os.path.join(BRD_POST_DIR, "data_conditional_mean") +# BRD_COND_MEAN_DATA_DIR = os.path.join(BRD_POST_DIR, "data_conditional_mean") BRD_INV_DIR = os.path.join(BRD_DIR, "inverse_modeling") diff --git a/tests/postProcess/test_cond_mean.py b/tests/postProcess/test_cond_mean.py index 6513f5af..763b1184 100644 --- a/tests/postProcess/test_cond_mean.py +++ b/tests/postProcess/test_cond_mean.py @@ -2,7 +2,7 @@ from prettyPlot.plotting import plt, pretty_labels -from brd import BRD_COND_MEAN_DATA_DIR +# from brd import BRD_COND_MEAN_DATA_DIR from brd.postProcess.conditional_mean import ( compute_cond_mean, save_cond, @@ -11,12 +11,8 @@ def test_compute_cond(): - caseFolder = BRD_COND_MEAN_DATA_DIR - if not os.path.exists(caseFolder): - # We are executing the CI - caseFolder = os.path.join( - "brd", "postProcess", "data_conditional_mean" - ) + # caseFolder = BRD_COND_MEAN_DATA_DIR + caseFolder = os.path.join("brd", "postProcess", "data_conditional_mean") fields_list = [ "CO.gas", "CO.liquid",