From 5c5fe6c466b94cc640bda61850c35c5ceaa24377 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Wed, 20 Oct 2010 05:53:17 -0400 Subject: [PATCH] Fix 'intil_state' -> 'initial_state' typo in pysawsim.sawsim.Event. --- pysawsim/sawsim.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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() -- 2.26.2