Skip to content

Commit

Permalink
Remove essay, add scientific-paper
Browse files Browse the repository at this point in the history
  • Loading branch information
Deee92 committed Aug 15, 2024
1 parent 79ccc05 commit 815eaef
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 11 deletions.
6 changes: 2 additions & 4 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,13 @@ _The title of your proposal_

_Selected deadline for the assignment_

_If contribution is a **demo** or **presentation** pick one of the following:_
_If contribution is a **demo** or **presentation** or **scientific-paper** pick one of the following:_
- Week 2
- Week 3
- Week 4
- Week 5
- Week 6
- Week 7
- Week 8
- Week 9

_Else pick one of the following:_
- Task 1
Expand All @@ -42,7 +40,7 @@ _Pick one of the following:_
- Demo
- Presentation
- Executable tutorial
- Essay
- Scientific paper
- Open source
- Feedback

Expand Down
14 changes: 7 additions & 7 deletions tools/missing_grade.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def task_to_set(task_name, canvas_set):
mapping = {
#"course-automation": canvas_set["Course automation"],
"demo": canvas_set["Demos"],
"essay": canvas_set["Essays"],
"scientific-paper": canvas_set["Scientific Papers"],
"executable-tutorial": canvas_set["Executable Tutorials"],
"feedback": canvas_set["Feedback"],
"opensource": canvas_set["Open-source contributions"],
Expand Down Expand Up @@ -123,8 +123,8 @@ def parse_args():
parser = argparse.ArgumentParser()
parser.add_argument('--task', dest='task', type=str, help='Task name', required=True)
parser.add_argument('--token', dest='token', type=str, help='Canvas access token', required=True)
parser.add_argument('--week', dest='week', type=str, help='Week folder (ONLY for presentation/demo)')
parser.add_argument('--deadline', dest='deadline', type=int, help='Deadline number (NOT for presentation/demo)')
parser.add_argument('--week', dest='week', type=str, help='Week folder (ONLY for presentation/demo/scientific-paper)')
parser.add_argument('--deadline', dest='deadline', type=int, help='Deadline number (NOT for presentation/demo/scientific-paper)')

args = parser.parse_args()
TASK = args.task
Expand Down Expand Up @@ -159,10 +159,10 @@ def check_all_assigned():
#"feedback": canvas_set["Feedback"],
#"open-source": canvas_set["Open-source contributions"],
#"presentation": canvas_set["Presentations"], }
for i in get_sub_directory(CONTRIBUTION_PATH+"/"+"course-automation").values():
l.append(i['path'])
for i in get_sub_directory(CONTRIBUTION_PATH+"/"+"essay").values():
l.append(i['path'])
# for i in get_sub_directory(CONTRIBUTION_PATH+"/"+"course-automation").values():
# l.append(i['path'])
# for i in get_sub_directory(CONTRIBUTION_PATH+"/"+"essay").values():
# l.append(i['path'])
for i in get_sub_directory(CONTRIBUTION_PATH+"/"+"executable-tutorial").values():
l.append(i['path'])
for i in get_sub_directory(CONTRIBUTION_PATH+"/"+"feedback").values():
Expand Down

0 comments on commit 815eaef

Please sign in to comment.