ndcbe / data-and-computing

CBE 20258 and CBE 60258: (Advanced) Data and Computing
4 stars 28 forks source link

Chapter 1 Cleanup #16

Closed adowling2 closed 2 years ago

adowling2 commented 2 years ago

Chapter 1: Python Primer

https://ndcbe.github.io/data-and-computing/notebooks/01-publish/01-Jupyter-Notebooks.html

jkeane14 commented 2 years ago

Python Primer Homepage:

Notebook 4, Functions and Scope:

Notebook 7, Python Basics III:

Notebook 8, Linear Algebra:

Notebook 9, Matplotlib Basics:

Notebook 10, Manipulating data:

Notebook 12, Testing and Debugging:

E-Ream commented 2 years ago

Welcome to Jupyter Notebooks and Vocareum

Python Basics I: Variables, Strings, and Bugs

Pseudocode

Functions and Scope

Recursion

High/Low Guess my Number Game

Python Basics III: Lists, Dictionaries, Enumeration

Linear Algebra with Numpy and Scipy

Visualization with Matplolib

Manipulating Data with Pandas

Functions as Arguments

Testing and Debugging in Python

E-Ream commented 2 years ago

@adowling2 @jkeane14 When we are cleaning up these chapters that have been published on a new branch, do we edit the chapter 01 notebooks or the chapter 01-publish notebooks in jupyter lab?

adowling2 commented 2 years ago

01 folder. The notebooks in 01-publish are automatically generated.

E-Ream commented 2 years ago

Note: Chapter 1 Cleanup and cell tagging to remove solutions is completed. We may still have issues with the dollar sign math inside of highlighted box markdowns (i.e. tutorial, home, and class activities) that we need to check on once the cleanup branch is published. These issues do not appear until the notebooks are published on the website.

adowling2 commented 2 years ago

@E-Ream

Can we split this notebook in two? Split off "Errors in Linear Systems" and the following content to be its own (short) notebook. You'll also need to split the takeaway messages. The first two items stay with LU decomposition. The last takeaway message stays with Errors in Linear Systems.

E-Ream commented 2 years ago

@adowling2 Yes, I can do that. I'll get to work on it next week.

E-Ream commented 2 years ago

The LU Decomposition notebook 02-03 has been split into 02-03 and 02-03b.

adowling2 commented 2 years ago

@E-Ream After a bunch of tinkering today, I got LaTeX in the activity callout boxes working:

Screen Shot 2022-07-05 at 3 35 02 PM

https://ndcbe.github.io/data-and-computing/notebooks/01/00-Python-Primer.html

You'll, unfortunately, need to update all of the activity box cells. Click the "Colab" button in the above link to see the new syntax for the cells. Post here with your questions.

adowling2 commented 2 years ago

Additional clean-up tasks:

adowling2 commented 2 years ago

@E-Ream I have some ideas I want to try on updating the processing script to automatically formate the home, tutorial, and class activities. Let me prototype a few ideas before you get too far along. I hope to show you a working solution during our meeting this week.

adowling2 commented 2 years ago

@E-Ream The updated processing script works! Please add to the agenda for the next meeting reformatting notes. I want to add a new type of callout box.

adowling2 commented 2 years ago

Here are more cleanup requests for Chapter 1:

https://ndcbe.github.io/data-and-computing/notebooks/01-publish/07-Matplotlib.html#matplotlib-basics

All notebooks:

adowling2 commented 2 years ago
/Users/adowling/DowlingLab/Teaching/data-and-computing/notebooks/01-publish/10-Testing-and-Debugging.ipynb:30002: WARNING: Non-consecutive header level increase; 1 to 3 [myst.header]
/Users/adowling/DowlingLab/Teaching/data-and-computing/notebooks/01-publish/10-Testing-and-Debugging.ipynb:270002: WARNING: Non-consecutive header level increase; 1 to 3 [myst.header]
/Users/adowling/DowlingLab/Teaching/data-and-computing/notebooks/01-publish/10-Testing-and-Debugging.ipynb:270020: WARNING: Non-consecutive header level increase; 1 to 3 [myst.header]
/Users/adowling/DowlingLab/Teaching/data-and-computing/notebooks/01-publish/10-Testing-and-Debugging.ipynb:300002: WARNING: Non-consecutive header level increase; 1 to 3 [myst.header]
/Users/adowling/DowlingLab/Teaching/data-and-computing/notebooks/01-publish/10-Testing-and-Debugging.ipynb:330002: WARNING: Non-consecutive header level increase; 1 to 3 [myst.header]
E-Ream commented 2 years ago

@adowling2 In reference to the headers on the 01-10 notebook, I had fixed this header issue early last week. Did you republish the chapters before seeing this error or is this for the original publish notebook file?

adowling2 commented 2 years ago

These are the headers on the main branch. If we have changes on a branch that have not been merged, those changes are not reflected in the header output I posted.

E-Ream commented 2 years ago

Okay, that makes sense. Thank you.

adowling2 commented 2 years ago

A few more issues after publishing Draft 2:

https://ndcbe.github.io/data-and-computing/notebooks/01-publish/07-Matplotlib.html

adowling2 commented 2 years ago

https://ndcbe.github.io/data-and-computing/notebooks/01-publish/01-Jupyter-Notebooks.html