Skip to content

Commit 815eaef

Browse files
committed
Remove essay, add scientific-paper
1 parent 79ccc05 commit 815eaef

File tree

2 files changed

+9
-11
lines changed

2 files changed

+9
-11
lines changed

.github/pull_request_template.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,13 @@ _The title of your proposal_
1919

2020
_Selected deadline for the assignment_
2121

22-
_If contribution is a **demo** or **presentation** pick one of the following:_
22+
_If contribution is a **demo** or **presentation** or **scientific-paper** pick one of the following:_
2323
- Week 2
2424
- Week 3
2525
- Week 4
2626
- Week 5
2727
- Week 6
2828
- Week 7
29-
- Week 8
30-
- Week 9
3129

3230
_Else pick one of the following:_
3331
- Task 1
@@ -42,7 +40,7 @@ _Pick one of the following:_
4240
- Demo
4341
- Presentation
4442
- Executable tutorial
45-
- Essay
43+
- Scientific paper
4644
- Open source
4745
- Feedback
4846

tools/missing_grade.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ def task_to_set(task_name, canvas_set):
2121
mapping = {
2222
#"course-automation": canvas_set["Course automation"],
2323
"demo": canvas_set["Demos"],
24-
"essay": canvas_set["Essays"],
24+
"scientific-paper": canvas_set["Scientific Papers"],
2525
"executable-tutorial": canvas_set["Executable Tutorials"],
2626
"feedback": canvas_set["Feedback"],
2727
"opensource": canvas_set["Open-source contributions"],
@@ -123,8 +123,8 @@ def parse_args():
123123
parser = argparse.ArgumentParser()
124124
parser.add_argument('--task', dest='task', type=str, help='Task name', required=True)
125125
parser.add_argument('--token', dest='token', type=str, help='Canvas access token', required=True)
126-
parser.add_argument('--week', dest='week', type=str, help='Week folder (ONLY for presentation/demo)')
127-
parser.add_argument('--deadline', dest='deadline', type=int, help='Deadline number (NOT for presentation/demo)')
126+
parser.add_argument('--week', dest='week', type=str, help='Week folder (ONLY for presentation/demo/scientific-paper)')
127+
parser.add_argument('--deadline', dest='deadline', type=int, help='Deadline number (NOT for presentation/demo/scientific-paper)')
128128

129129
args = parser.parse_args()
130130
TASK = args.task
@@ -159,10 +159,10 @@ def check_all_assigned():
159159
#"feedback": canvas_set["Feedback"],
160160
#"open-source": canvas_set["Open-source contributions"],
161161
#"presentation": canvas_set["Presentations"], }
162-
for i in get_sub_directory(CONTRIBUTION_PATH+"/"+"course-automation").values():
163-
l.append(i['path'])
164-
for i in get_sub_directory(CONTRIBUTION_PATH+"/"+"essay").values():
165-
l.append(i['path'])
162+
# for i in get_sub_directory(CONTRIBUTION_PATH+"/"+"course-automation").values():
163+
# l.append(i['path'])
164+
# for i in get_sub_directory(CONTRIBUTION_PATH+"/"+"essay").values():
165+
# l.append(i['path'])
166166
for i in get_sub_directory(CONTRIBUTION_PATH+"/"+"executable-tutorial").values():
167167
l.append(i['path'])
168168
for i in get_sub_directory(CONTRIBUTION_PATH+"/"+"feedback").values():

0 commit comments

Comments
 (0)