Skip to content

Commit

Permalink
remove seed assignment from config files
Browse files Browse the repository at this point in the history
  • Loading branch information
DSilva27 committed Aug 9, 2024
1 parent 3008c77 commit 3e8388e
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 4 deletions.
1 change: 0 additions & 1 deletion config_files/config_preproc.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
3 changes: 1 addition & 2 deletions src/cryo_challenge/data/_validation/config_validators.py
Original file line number Diff line number Diff line change
@@ -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:
"""
Expand Down Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion tests/config_files/test_config_preproc.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 3e8388e

Please sign in to comment.