Skip to content

Commit

Permalink
Fix: Edits from @ucodery
Browse files Browse the repository at this point in the history
Co-authored-by: Jeremy Paige <[email protected]>
  • Loading branch information
lwasser and ucodery authored Oct 11, 2024
1 parent cc4b604 commit 1467209
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions clean-modular-code/activity-2/clean-code-activity-2.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ You can use the script you worked on in Activity 1 here. Or you can use the clea

## Remember the strategies for cleaner code

* Document what the code does by adding a docstring at the top of the script to help your future self, a future lab mate, or another user understand that tasks that your code performs.
* Document what the code does by adding a docstring at the top of the script to help your future self, a future lab mate, or another user understand the tasks that your code performs.

In this exercise, you will focus specifically on:

Expand Down Expand Up @@ -199,7 +199,7 @@ If you complete the above activity with time to spare, here are a few additional
In the JSON data that you have been processing, the package titles can be found in the title column as follows: `"package-name: title here."`

1. Add a processing step to the code that pulls the package name out from the title column and creates a new column called `package-name`.
1. Create a workflow that calculates how many packages in that list are pyOpenSci packages. To calculate how many are pyOpenSci packages, you will need the `pyos-joss-accepted-packages.csv` file in the `data/` directory with the activity 2 JSON data. This .csv file lists all pyOpenSci packages that have also gone through JOSS review.
1. Create a workflow that calculates how many packages in that list are pyOpenSci packages. To calculate how many are pyOpenSci packages, you will need the `pyos-joss-accepted-packages.csv` file in the `data/` directory with the activity 2 JSON data. This .csv file lists all pyOpenSci packages that have also gone through JOSS review.
:::

+++ {"editable": true, "slideshow": {"slide_type": ""}}
Expand Down

0 comments on commit 1467209

Please sign in to comment.