Skip to content

Commit 936d052

Browse files
author
ramiz khaled
committed
update v0.1.5
1 parent 00c35cf commit 936d052

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

amn/predict.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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

amn/train.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)