From: W. Trevor King Date: Wed, 20 Oct 2010 09:53:17 +0000 (-0400) Subject: Fix 'intil_state' -> 'initial_state' typo in pysawsim.sawsim.Event. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=5c5fe6c466b94cc640bda61850c35c5ceaa24377;p=sawsim.git Fix 'intil_state' -> 'initial_state' typo in pysawsim.sawsim.Event. --- diff --git a/pysawsim/sawsim.py b/pysawsim/sawsim.py index 4b1e377..00dea1a 100644 --- a/pysawsim/sawsim.py +++ b/pysawsim/sawsim.py @@ -31,7 +31,7 @@ from collections import namedtuple Event = namedtuple( typename='Event', - field_names=['force', 'intial_state', 'final_state']) + field_names=['force', 'initial_state', 'final_state']) def parse(text): @@ -51,7 +51,7 @@ def parse(text): >>> len(events) 8 >>> events[0] # doctest: +ELLIPSIS - Event(force=2.9030...e-10, intial_state='folded', final_state='unfolded') + Event(force=2.9030...e-10, initial_state='folded', final_state='unfolded') """ for line in text.splitlines(): line = line.strip()