projects
/
hooke.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
4f73d07
)
Remove export and distance sections from test/tutorial.py (they duplicate other test...
author
W. Trevor King
<wking@drexel.edu>
Tue, 17 Aug 2010 10:56:23 +0000
(06:56 -0400)
committer
W. Trevor King
<wking@drexel.edu>
Tue, 17 Aug 2010 10:56:23 +0000
(06:56 -0400)
test/tutorial.py
patch
|
blob
|
history
diff --git
a/test/tutorial.py
b/test/tutorial.py
index d35269771553015451d23e1d77c93af1df318f7d..7e9ec3381d20ee7d5ebaad4da3dc9b345cc26300 100644
(file)
--- a/
test/tutorial.py
+++ b/
test/tutorial.py
@@
-223,23
+223,11
@@
See :file:`note.py`.
*Exporting curves*
*Exporting curves*
->>> export_already_exists = os.path.exists('mycurve.dat')
->>> export_already_exists
-False
->>> h = r.run_lines(h, ['export_block --output mycurve.dat'])
-Success
-<BLANKLINE>
->>> os.path.isfile('mycurve.dat')
-True
->>> if export_already_exists == False:
-... os.remove('mycurve.dat')
+See :file:`export_block.py`.
*Measuring distances and forces*
*Measuring distances and forces*
->>> h = r.run_lines(h, ['delta 300 500']) # doctest: +ELLIPSIS
-[('z piezo (m)', -4.913...e-08), ('deflection (m)', -2.834...e-08)]
-Success
-<BLANKLINE>
+See :file:`delta.py`.
*Worm like chain and freely jointed chain fitting*
*Worm like chain and freely jointed chain fitting*