Skip to content

Commit 7f73687

Browse files
committed
working towards problem selection logic
1 parent 148de47 commit 7f73687

File tree

4 files changed

+141
-124
lines changed

4 files changed

+141
-124
lines changed

src/virtualship/cli/_run.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,8 +133,9 @@ def _run(
133133

134134
# problems
135135
# TODO: prob_level needs to be parsed from CLI args
136+
#! TODO: the argument should ensure that only "0", "1", or "2" can be used as arguments
136137
problem_simulator = ProblemSimulator(expedition, prob_level, expedition_dir)
137-
problems = problem_simulator.select_problems(prob_level, instruments_in_expedition)
138+
problems = problem_simulator.select_problems(instruments_in_expedition)
138139

139140
for itype in instruments_in_expedition:
140141
if prob_level > 0: # only helpful if problems are being simulated

0 commit comments

Comments
 (0)