UBC-DSCI / rudaux

LMS + External Tool Workflow Orchestration
https://ubc-dsci.github.io/rudaux
MIT License
7 stars 5 forks source link

Hotfix commands module #15

Closed samhinshaw closed 5 years ago

samhinshaw commented 5 years ago

@ttimbers I believe this should fix the error you were running into, but unfortunately I do not have the means to test it.

Changes:

  1. If multiple assignments with the same name were found, warn BEFORE taking first assignment, not after.
  2. Create a new variable called "matchedAssignments"
  3. Extract the first element to a variable named "assignment"
  4. Once an assignment is graded, return it to "gradedAssignment"
  5. Use the warnings module to warn the user when multiple assignments with the same name were found, rather than just printing a message.