File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -63,8 +63,8 @@ def predict_amn(
6363 }
6464 }
6565
66- if organism not in PRESETS :
67- raise ValueError (f"Organism must be one of { list (PRESETS .keys ())} " )
66+ # if organism not in PRESETS:
67+ # raise ValueError(f"Organism must be one of {list(PRESETS.keys())}")
6868
6969 cfg = PRESETS [organism ]
7070
Original file line number Diff line number Diff line change @@ -61,8 +61,8 @@ def build_training_set(
6161 "cobra_file" : get_default_model ('biolog' ,'build' )
6262 }
6363 }
64- if organism not in PRESETS :
65- raise ValueError (f"Organism must be one of { list (PRESETS .keys ())} " )
64+ # if organism not in PRESETS:
65+ # raise ValueError(f"Organism must be one of {list(PRESETS.keys())}")
6666
6767 cfg = PRESETS [organism ]
6868
@@ -149,8 +149,8 @@ def train_gr_prediction(
149149 "batch_size" : 100
150150 }
151151 }
152- if organism not in PRESETS :
153- raise ValueError (f"Organism must be one of { list (PRESETS .keys ())} " )
152+ # if organism not in PRESETS:
153+ # raise ValueError(f"Organism must be one of {list(PRESETS.keys())}")
154154
155155 cfg = PRESETS [organism ]
156156
You can’t perform that action at this time.
0 commit comments