Your major objective for this week will be to learn how to use python's exception handling system in combination with the pyunit unit-test framework to test assumptions about your data and code.
You'll also learn why testing is hugely important and how testing can help you avoid serious and embarrassing errors in research.
- Dive into python: Chapter 13. Unit testing - http://www.diveintopython.net/unit_testing/index.html
- A sign, a flipped structure, and a scientific flame-out of epic proportions - http://boscoh.com/protein/a-sign-a-flipped-structure-and-a-scientific-flameout-of-epic-proportions
- Bug-catching with unit testing