Intro#
This is a brief workshop made for my lab. It doesn’t explain fully all of the concepts it discusses, and isn’t intended to be a standalone book, but I do attempt to link out to relevant resources when needed.
Update: 23-06-26 - Updated to include some examples from miniscope lab on Modularity and Writing Testable Code. The whole book remains an incomplete and disorganized resource, but it will likely be where I put different lessons on basic code structure for the time being :)
Outline:#
Packaging – Write code in a structured way
Modularity – Write code that can do more than one thing
Docs – Write code that can be understood
Tests – Write code you can trust
Collaboration – Write code with others
Molly has graciously allowed us to use the prey capture analysis repository as an example: wehr-lab/Prey_Capture_Python