Skip to content

Commit 4a78955

Browse files
Merge pull request #159 from coding-for-reproducible-research/course-history
Update workflow file to upload err logs
2 parents 5515d01 + 8d7602a commit 4a78955

File tree

6 files changed

+48
-23
lines changed

6 files changed

+48
-23
lines changed

.github/workflows/build-book.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
2525
# (optional) Cache your executed notebooks between runs
2626
- name: Cache executed notebooks
27-
uses: actions/cache@v3
27+
uses: actions/cache@v4
2828
with:
2929
path: _build/.jupyter_cache
3030
key: jupyter-book-cache-${{ hashFiles('requirements.txt') }}
@@ -33,3 +33,11 @@ jobs:
3333
- name: Build the book
3434
run: |
3535
jupyter-book build .
36+
37+
# Always upload logs, even if build succeeds
38+
- name: Upload error logs
39+
uses: actions/upload-artifact@v4
40+
with:
41+
name: error-logs
42+
path: _build/html/reports/pathways/related_courses.err.log
43+
continue-on-error: true

_static/workshops_network_hpc.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ <h1></h1>
282282

283283

284284
// parsing and collecting nodes and edges from the python
285-
nodes = new vis.DataSet([{"color": "#FFD700", "id": "Introduction to Unix", "label": "Introduction to Unix", "level": 1, "shape": "dot", "size": 10, "title": "Course Name: Introduction to Unix\nCourse Pre-reqs: None\nSubsequent Courses: Introduction to HPC, Introduction to Version Control with Git and GitHub"}, {"color": "#FFD700", "id": "Introduction to HPC", "label": "Introduction to HPC", "level": 2, "shape": "dot", "size": 10, "title": "Course Name: Introduction to HPC\nCourse Pre-reqs: Introduction to Unix\nSubsequent Courses: None"}, {"color": "#FFD700", "id": "Introduction to Version Control with Git and GitHub", "label": "Introduction to Version Control with Git and GitHub", "level": 2, "shape": "dot", "size": 10, "title": "Course Name: Introduction to Version Control with Git and GitHub\nCourse Pre-reqs: Introduction to Unix\nSubsequent Courses: Intermediate Version Control"}, {"color": "#FFD700", "id": "Intermediate Version Control", "label": "Intermediate Version Control", "level": 3, "shape": "dot", "size": 10, "title": "Course Name: Intermediate Version Control\nCourse Pre-reqs: Introduction to Version Control with Git and GitHub\nSubsequent Courses: None"}, {"color": "#FFD700", "id": "Introduction to Python", "label": "Introduction to Python", "level": 1, "shape": "dot", "size": 10, "title": "Course Name: Introduction to Python\nCourse Pre-reqs: None\nSubsequent Courses: None"}]);
285+
nodes = new vis.DataSet([{"color": "#4682B4", "id": "Introduction to Unix", "label": "Introduction to Unix", "level": 1, "shape": "dot", "size": 10, "title": "Course Name: Introduction to Unix\nCourse Pre-reqs: None\nSubsequent Courses: Introduction to HPC, Introduction to Version Control with Git and GitHub"}, {"color": "#4682B4", "id": "Introduction to HPC", "label": "Introduction to HPC", "level": 2, "shape": "dot", "size": 10, "title": "Course Name: Introduction to HPC\nCourse Pre-reqs: Introduction to Unix\nSubsequent Courses: None"}, {"color": "#4682B4", "id": "Introduction to Version Control with Git and GitHub", "label": "Introduction to Version Control with Git and GitHub", "level": 2, "shape": "dot", "size": 10, "title": "Course Name: Introduction to Version Control with Git and GitHub\nCourse Pre-reqs: Introduction to Unix\nSubsequent Courses: Intermediate Version Control"}, {"color": "#4682B4", "id": "Intermediate Version Control", "label": "Intermediate Version Control", "level": 3, "shape": "dot", "size": 10, "title": "Course Name: Intermediate Version Control\nCourse Pre-reqs: Introduction to Version Control with Git and GitHub\nSubsequent Courses: None"}, {"color": "#4682B4", "id": "Introduction to Python", "label": "Introduction to Python", "level": 1, "shape": "dot", "size": 10, "title": "Course Name: Introduction to Python\nCourse Pre-reqs: None\nSubsequent Courses: None"}]);
286286
edges = new vis.DataSet([{"arrows": "to", "from": "Introduction to Unix", "to": "Introduction to HPC", "width": 1}, {"arrows": "to", "from": "Introduction to Unix", "to": "Introduction to Version Control with Git and GitHub", "width": 1}, {"arrows": "to", "from": "Introduction to Version Control with Git and GitHub", "to": "Intermediate Version Control", "width": 1}]);
287287

288288
nodeColors = {};

_static/workshops_network_python_ds.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ <h1></h1>
282282

283283

284284
// parsing and collecting nodes and edges from the python
285-
nodes = new vis.DataSet([{"color": "#FF6347", "id": "Introduction to Version Control with Git and GitHub", "label": "Introduction to Version Control with Git and GitHub", "level": 2, "shape": "dot", "size": 10, "title": "Course Name: Introduction to Version Control with Git and GitHub\nCourse Pre-reqs: Introduction to Unix\nSubsequent Courses: Intermediate Version Control"}, {"color": "#FF6347", "id": "Intermediate Version Control", "label": "Intermediate Version Control", "level": 3, "shape": "dot", "size": 10, "title": "Course Name: Intermediate Version Control\nCourse Pre-reqs: Introduction to Version Control with Git and GitHub\nSubsequent Courses: None"}, {"color": "#FF6347", "id": "Introduction to Unix", "label": "Introduction to Unix", "level": 1, "shape": "dot", "size": 10, "title": "Course Name: Introduction to Unix\nCourse Pre-reqs: None\nSubsequent Courses: Introduction to Version Control with Git and GitHub"}, {"color": "#FF6347", "id": "Introduction to Python", "label": "Introduction to Python", "level": 1, "shape": "dot", "size": 10, "title": "Course Name: Introduction to Python\nCourse Pre-reqs: None\nSubsequent Courses: Python for Data Analysis "}, {"color": "#FF6347", "id": "Python for Data Analysis ", "label": "Python for Data Analysis ", "level": 2, "shape": "dot", "size": 10, "title": "Course Name: Python for Data Analysis \nCourse Pre-reqs: Introduction to Python\nSubsequent Courses: None"}]);
285+
nodes = new vis.DataSet([{"color": "#FFD700", "id": "Introduction to Version Control with Git and GitHub", "label": "Introduction to Version Control with Git and GitHub", "level": 2, "shape": "dot", "size": 10, "title": "Course Name: Introduction to Version Control with Git and GitHub\nCourse Pre-reqs: Introduction to Unix\nSubsequent Courses: Intermediate Version Control"}, {"color": "#FFD700", "id": "Intermediate Version Control", "label": "Intermediate Version Control", "level": 3, "shape": "dot", "size": 10, "title": "Course Name: Intermediate Version Control\nCourse Pre-reqs: Introduction to Version Control with Git and GitHub\nSubsequent Courses: None"}, {"color": "#FFD700", "id": "Introduction to Unix", "label": "Introduction to Unix", "level": 1, "shape": "dot", "size": 10, "title": "Course Name: Introduction to Unix\nCourse Pre-reqs: None\nSubsequent Courses: Introduction to Version Control with Git and GitHub"}, {"color": "#FFD700", "id": "Introduction to Python", "label": "Introduction to Python", "level": 1, "shape": "dot", "size": 10, "title": "Course Name: Introduction to Python\nCourse Pre-reqs: None\nSubsequent Courses: Python for Data Analysis "}, {"color": "#FFD700", "id": "Python for Data Analysis ", "label": "Python for Data Analysis ", "level": 2, "shape": "dot", "size": 10, "title": "Course Name: Python for Data Analysis \nCourse Pre-reqs: Introduction to Python\nSubsequent Courses: None"}]);
286286
edges = new vis.DataSet([{"arrows": "to", "from": "Introduction to Version Control with Git and GitHub", "to": "Intermediate Version Control", "width": 1}, {"arrows": "to", "from": "Introduction to Unix", "to": "Introduction to Version Control with Git and GitHub", "width": 1}, {"arrows": "to", "from": "Introduction to Python", "to": "Python for Data Analysis ", "width": 1}]);
287287

288288
nodeColors = {};

_static/workshops_network_r_ds.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ <h1></h1>
282282

283283

284284
// parsing and collecting nodes and edges from the python
285-
nodes = new vis.DataSet([{"color": "#4682B4", "id": "Introduction to R", "label": "Introduction to R", "level": 1, "shape": "dot", "size": 10, "title": "Course Name: Introduction to R\nCourse Pre-reqs: None\nSubsequent Courses: Regression analysis with R, Working With Data In R"}, {"color": "#4682B4", "id": "Regression analysis with R", "label": "Regression analysis with R", "level": 2, "shape": "dot", "size": 10, "title": "Course Name: Regression analysis with R\nCourse Pre-reqs: Introduction to R\nSubsequent Courses: Advanced Regression Analysis With R "}, {"color": "#4682B4", "id": "Working With Data In R", "label": "Working With Data In R", "level": 2, "shape": "dot", "size": 10, "title": "Course Name: Working With Data In R\nCourse Pre-reqs: Introduction to R\nSubsequent Courses: None"}, {"color": "#4682B4", "id": "Advanced Regression Analysis With R ", "label": "Advanced Regression Analysis With R ", "level": 3, "shape": "dot", "size": 10, "title": "Course Name: Advanced Regression Analysis With R \nCourse Pre-reqs: Regression analysis with R\nSubsequent Courses: None"}, {"color": "#4682B4", "id": "Introduction to Version Control with Git and GitHub", "label": "Introduction to Version Control with Git and GitHub", "level": 2, "shape": "dot", "size": 10, "title": "Course Name: Introduction to Version Control with Git and GitHub\nCourse Pre-reqs: Introduction to Unix\nSubsequent Courses: Intermediate Version Control"}, {"color": "#4682B4", "id": "Intermediate Version Control", "label": "Intermediate Version Control", "level": 3, "shape": "dot", "size": 10, "title": "Course Name: Intermediate Version Control\nCourse Pre-reqs: Introduction to Version Control with Git and GitHub\nSubsequent Courses: None"}, {"color": "#4682B4", "id": "Introduction to Unix", "label": "Introduction to Unix", "level": 1, "shape": "dot", "size": 10, "title": "Course Name: Introduction to Unix\nCourse Pre-reqs: None\nSubsequent Courses: Introduction to Version Control with Git and GitHub"}]);
285+
nodes = new vis.DataSet([{"color": "#FF6347", "id": "Introduction to R", "label": "Introduction to R", "level": 1, "shape": "dot", "size": 10, "title": "Course Name: Introduction to R\nCourse Pre-reqs: None\nSubsequent Courses: Regression analysis with R, Working With Data In R"}, {"color": "#FF6347", "id": "Regression analysis with R", "label": "Regression analysis with R", "level": 2, "shape": "dot", "size": 10, "title": "Course Name: Regression analysis with R\nCourse Pre-reqs: Introduction to R\nSubsequent Courses: Advanced Regression Analysis With R "}, {"color": "#FF6347", "id": "Working With Data In R", "label": "Working With Data In R", "level": 2, "shape": "dot", "size": 10, "title": "Course Name: Working With Data In R\nCourse Pre-reqs: Introduction to R\nSubsequent Courses: None"}, {"color": "#FF6347", "id": "Advanced Regression Analysis With R ", "label": "Advanced Regression Analysis With R ", "level": 3, "shape": "dot", "size": 10, "title": "Course Name: Advanced Regression Analysis With R \nCourse Pre-reqs: Regression analysis with R\nSubsequent Courses: None"}, {"color": "#FF6347", "id": "Introduction to Version Control with Git and GitHub", "label": "Introduction to Version Control with Git and GitHub", "level": 2, "shape": "dot", "size": 10, "title": "Course Name: Introduction to Version Control with Git and GitHub\nCourse Pre-reqs: Introduction to Unix\nSubsequent Courses: Intermediate Version Control"}, {"color": "#FF6347", "id": "Intermediate Version Control", "label": "Intermediate Version Control", "level": 3, "shape": "dot", "size": 10, "title": "Course Name: Intermediate Version Control\nCourse Pre-reqs: Introduction to Version Control with Git and GitHub\nSubsequent Courses: None"}, {"color": "#FF6347", "id": "Introduction to Unix", "label": "Introduction to Unix", "level": 1, "shape": "dot", "size": 10, "title": "Course Name: Introduction to Unix\nCourse Pre-reqs: None\nSubsequent Courses: Introduction to Version Control with Git and GitHub"}]);
286286
edges = new vis.DataSet([{"arrows": "to", "from": "Introduction to R", "to": "Regression analysis with R", "width": 1}, {"arrows": "to", "from": "Introduction to R", "to": "Working With Data In R", "width": 1}, {"arrows": "to", "from": "Regression analysis with R", "to": "Advanced Regression Analysis With R ", "width": 1}, {"arrows": "to", "from": "Introduction to Version Control with Git and GitHub", "to": "Intermediate Version Control", "width": 1}, {"arrows": "to", "from": "Introduction to Unix", "to": "Introduction to Version Control with Git and GitHub", "width": 1}]);
287287

288288
nodeColors = {};

pathways/related_courses.ipynb

Lines changed: 35 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
},
3131
{
3232
"cell_type": "code",
33-
"execution_count": 2,
33+
"execution_count": 1,
3434
"id": "028da1b5-7197-4a20-ba0b-e40e6b966cf9",
3535
"metadata": {
3636
"editable": true,
@@ -47,9 +47,9 @@
4747
"name": "stdout",
4848
"output_type": "stream",
4949
"text": [
50-
"../_static/workshops_network_hpc.html\n",
5150
"../_static/workshops_network_python_ds.html\n",
52-
"../_static/workshops_network_r_ds.html\n"
51+
"../_static/workshops_network_r_ds.html\n",
52+
"../_static/workshops_network_hpc.html\n"
5353
]
5454
}
5555
],
@@ -143,7 +143,7 @@
143143
},
144144
{
145145
"cell_type": "code",
146-
"execution_count": 3,
146+
"execution_count": 2,
147147
"id": "98e15d08-6dfe-4606-b388-1ea76d9d0bc8",
148148
"metadata": {
149149
"editable": true,
@@ -158,18 +158,18 @@
158158
{
159159
"data": {
160160
"text/html": [
161-
"<div style='text-align: center;'><h3>HPC Pathway</h3></div><iframe id='iframe-hpc' src='../_static/workshops_network_hpc.html' width='100%' height='750px' style='border:none;'></iframe>\n",
161+
"<div style='text-align: center;'><h3>Python DS Pathway</h3></div><iframe id='iframe-python_ds' src='../_static/workshops_network_python_ds.html' width='100%' height='750px' style='border:none;'></iframe>\n",
162162
" <script>\n",
163-
" function adjustIframeHeight_iframe-hpc() {\n",
164-
" const iframe = document.getElementById('iframe-hpc');\n",
163+
" function adjustIframeHeight_iframe-python_ds() {\n",
164+
" const iframe = document.getElementById('iframe-python_ds');\n",
165165
" if (iframe) {\n",
166166
" iframe.style.height = iframe.offsetWidth + 'px';\n",
167167
" }\n",
168168
" }\n",
169169
"\n",
170170
" // Adjust height on load and resize\n",
171-
" window.onload = adjustIframeHeight_iframe-hpc;\n",
172-
" window.onresize = adjustIframeHeight_iframe-hpc;\n",
171+
" window.onload = adjustIframeHeight_iframe-python_ds;\n",
172+
" window.onresize = adjustIframeHeight_iframe-python_ds;\n",
173173
" </script>\n",
174174
" "
175175
],
@@ -183,18 +183,18 @@
183183
{
184184
"data": {
185185
"text/html": [
186-
"<div style='text-align: center;'><h3>Python DS Pathway</h3></div><iframe id='iframe-python_ds' src='../_static/workshops_network_python_ds.html' width='100%' height='750px' style='border:none;'></iframe>\n",
186+
"<div style='text-align: center;'><h3>R DS Pathway</h3></div><iframe id='iframe-r_ds' src='../_static/workshops_network_r_ds.html' width='100%' height='750px' style='border:none;'></iframe>\n",
187187
" <script>\n",
188-
" function adjustIframeHeight_iframe-python_ds() {\n",
189-
" const iframe = document.getElementById('iframe-python_ds');\n",
188+
" function adjustIframeHeight_iframe-r_ds() {\n",
189+
" const iframe = document.getElementById('iframe-r_ds');\n",
190190
" if (iframe) {\n",
191191
" iframe.style.height = iframe.offsetWidth + 'px';\n",
192192
" }\n",
193193
" }\n",
194194
"\n",
195195
" // Adjust height on load and resize\n",
196-
" window.onload = adjustIframeHeight_iframe-python_ds;\n",
197-
" window.onresize = adjustIframeHeight_iframe-python_ds;\n",
196+
" window.onload = adjustIframeHeight_iframe-r_ds;\n",
197+
" window.onresize = adjustIframeHeight_iframe-r_ds;\n",
198198
" </script>\n",
199199
" "
200200
],
@@ -208,18 +208,18 @@
208208
{
209209
"data": {
210210
"text/html": [
211-
"<div style='text-align: center;'><h3>R DS Pathway</h3></div><iframe id='iframe-r_ds' src='../_static/workshops_network_r_ds.html' width='100%' height='750px' style='border:none;'></iframe>\n",
211+
"<div style='text-align: center;'><h3>HPC Pathway</h3></div><iframe id='iframe-hpc' src='../_static/workshops_network_hpc.html' width='100%' height='750px' style='border:none;'></iframe>\n",
212212
" <script>\n",
213-
" function adjustIframeHeight_iframe-r_ds() {\n",
214-
" const iframe = document.getElementById('iframe-r_ds');\n",
213+
" function adjustIframeHeight_iframe-hpc() {\n",
214+
" const iframe = document.getElementById('iframe-hpc');\n",
215215
" if (iframe) {\n",
216216
" iframe.style.height = iframe.offsetWidth + 'px';\n",
217217
" }\n",
218218
" }\n",
219219
"\n",
220220
" // Adjust height on load and resize\n",
221-
" window.onload = adjustIframeHeight_iframe-r_ds;\n",
222-
" window.onresize = adjustIframeHeight_iframe-r_ds;\n",
221+
" window.onload = adjustIframeHeight_iframe-hpc;\n",
222+
" window.onresize = adjustIframeHeight_iframe-hpc;\n",
223223
" </script>\n",
224224
" "
225225
],
@@ -278,6 +278,22 @@
278278
},
279279
"outputs": [],
280280
"source": []
281+
},
282+
{
283+
"cell_type": "code",
284+
"execution_count": null,
285+
"id": "d390070b-e14f-4296-8d10-552f34c764f7",
286+
"metadata": {},
287+
"outputs": [],
288+
"source": []
289+
},
290+
{
291+
"cell_type": "code",
292+
"execution_count": null,
293+
"id": "f67fbdd8-2041-4c13-bf89-0cf5bd8252ae",
294+
"metadata": {},
295+
"outputs": [],
296+
"source": []
281297
}
282298
],
283299
"metadata": {

requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@ ghp-import
55
jupyterquiz
66
matplotlib
77
scikit-learn
8+
pyvis

0 commit comments

Comments
 (0)