Skip to content

Commit 614c0d8

Browse files
committed
Removing redundant code
1 parent 40519d1 commit 614c0d8

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

mitxgraders/formulagrader/formulagrader.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -306,11 +306,6 @@ def scoped_eval(expression,
306306
return evaluator(expression, variables, functions, suffixes, max_array_dim,
307307
allow_inf=self.config['allow_inf'])
308308

309-
# Check on the status of the sibling variables
310-
for variable in sibling_vars:
311-
if np.isnan(varlist[variable]):
312-
raise MissingInput('Cannot grade answer, a required input is missing.')
313-
314309
# Compute expressions
315310
comparer_params_eval = self.eval_and_validate_comparer_params(scoped_eval, comparer_params)
316311
comparer_params_evals.append(comparer_params_eval)

0 commit comments

Comments
 (0)