------------------------------------------------------------
revno: 4109
committer: Anton Gladky <[email protected]>
timestamp: Tue 2014-07-22 19:23:17 +0200
message:
Modify slightly description of save-loadVars
Doctest was producing warnings, because variables were
overwriting. Do not execute loadVars command, but let
it be in documentation.
modified:
py/utils.py
--
lp:yade
https://code.launchpad.net/~yade-pkg/yade/git-trunk
Your team Yade developers is subscribed to branch lp:yade.
To unsubscribe from this branch go to
https://code.launchpad.net/~yade-pkg/yade/git-trunk/+edit-subscription
=== modified file 'py/utils.py'
--- py/utils.py 2014-07-01 05:36:28 +0000
+++ py/utils.py 2014-07-22 17:23:17 +0000
@@ -37,12 +37,8 @@
(1, 2, 3)
those variables will be save in the .xml file, when the simulation itself is saved. To recover those variables once the .xml is loaded again, use
-
- >>> loadVars('something')
-
- and they will be defined in the yade.params.\ *mark* module. The *loadNow* parameter calls :yref:`yade.utils.loadVars` after saving automatically.
-
- If 'something' already exists, given variables will be inserted.
+ ``loadVars('something')``and they will be defined in the yade.params.\ *mark* module. The *loadNow* parameter calls :yref:`yade.utils.loadVars`
+ after saving automatically. If 'something' already exists, given variables will be inserted.
"""
import cPickle
try:
_______________________________________________
Mailing list: https://launchpad.net/~yade-dev
Post to : [email protected]
Unsubscribe : https://launchpad.net/~yade-dev
More help : https://help.launchpad.net/ListHelp