From 3e8388eef6f45cbd889d2ab0525eda2e54caf28b Mon Sep 17 00:00:00 2001 From: DSilva27 Date: Fri, 9 Aug 2024 13:03:14 -0400 Subject: [PATCH] remove seed assignment from config files --- config_files/config_preproc.yaml | 1 - src/cryo_challenge/data/_validation/config_validators.py | 3 +-- tests/config_files/test_config_preproc.yaml | 1 - 3 files changed, 1 insertion(+), 4 deletions(-) diff --git a/config_files/config_preproc.yaml b/config_files/config_preproc.yaml index 4c503cc..0a087c9 100644 --- a/config_files/config_preproc.yaml +++ b/config_files/config_preproc.yaml @@ -1,5 +1,4 @@ submission_config_file: submission_config.json -seed_flavor_assignment: 0 thresh_percentile: 93.0 BOT_box_size: 32 BOT_loss: wemd diff --git a/src/cryo_challenge/data/_validation/config_validators.py b/src/cryo_challenge/data/_validation/config_validators.py index 93316a0..b2fa933 100644 --- a/src/cryo_challenge/data/_validation/config_validators.py +++ b/src/cryo_challenge/data/_validation/config_validators.py @@ -1,7 +1,7 @@ from numbers import Number import pandas as pd import os -from typing import List + def validate_generic_config(config: dict, reference: dict) -> None: """ @@ -48,7 +48,6 @@ def validate_config_preprocessing(config_data: dict) -> None: "BOT_loss": str, "BOT_iter": Number, "BOT_refine": bool, - "seed_flavor_assignment": int, } validate_generic_config(config_data, keys_and_types) return diff --git a/tests/config_files/test_config_preproc.yaml b/tests/config_files/test_config_preproc.yaml index 0a27d7e..0d0fec5 100644 --- a/tests/config_files/test_config_preproc.yaml +++ b/tests/config_files/test_config_preproc.yaml @@ -1,5 +1,4 @@ submission_config_file: tests/data/unprocessed_dataset_2_submissions/submission_x/submission_config.json -seed_flavor_assignment: 0 thresh_percentile: 93.0 BOT_box_size: 32 BOT_loss: wemd