projects
/
sawsim.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c73e609
)
Fix 'intil_state' -> 'initial_state' typo in pysawsim.sawsim.Event.
author
W. Trevor King
<wking@drexel.edu>
Wed, 20 Oct 2010 09:53:17 +0000
(
05:53
-0400)
committer
W. Trevor King
<wking@drexel.edu>
Wed, 20 Oct 2010 09:53:17 +0000
(
05:53
-0400)
pysawsim/sawsim.py
patch
|
blob
|
history
diff --git
a/pysawsim/sawsim.py
b/pysawsim/sawsim.py
index 4b1e37775aeba0ffa1dedd1c201ed25390d5b60d..00dea1ab77fd9bd78324a18b6bea880aa2f7d272 100644
(file)
--- 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', 'in
i
tial_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, in
i
tial_state='folded', final_state='unfolded')
"""
for line in text.splitlines():
line = line.strip()