Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Jonathan Wiedemann
MOOC-Workbench
Commits
99ff0263
Commit
99ff0263
authored
Jul 09, 2019
by
Jonathan Wiedemann
Browse files
fix wrong criteria in combatdestrentes
parent
6b841055
Changes
1
Hide whitespace changes
Inline
Side-by-side
exercises/CombatDesTrentes.py
View file @
99ff0263
...
...
@@ -73,7 +73,7 @@ def grader(doc_name):
step_id
+=
1
# Check for a Pad presence
grader_dict
[
"notes"
].
append
(
Check
.
pad_presence
(
doc
,
name
=
None
,
type
=
"Length"
,
length
=
18.0
,
midplane
=
Tru
e
))
grader_dict
[
"notes"
].
append
(
Check
.
pad_presence
(
doc
,
name
=
None
,
type
=
"Length"
,
length
=
18.0
,
midplane
=
Non
e
))
if
grader_dict
[
"notes"
][
step_id
]
==
1
:
grader_dict
[
"messages"
].
append
(
u
"Il y a une protrusion de 18 mm."
)
elif
grader_dict
[
"notes"
][
step_id
]
==
0
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment