yade-dev team mailing list archive
-
yade-dev team
-
Mailing list archive
-
Message #12814
[Branch ~yade-pkg/yade/git-trunk] Rev 3930: Doc of utils.readParamsFromTable() hopefully improved
------------------------------------------------------------
revno: 3930
committer: jduriez <jerome.duriez@xxxxxxxxxxx>
timestamp: Thu 2016-09-01 17:20:15 -0600
message:
Doc of utils.readParamsFromTable() hopefully improved
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 2016-04-13 08:39:42 +0000
+++ py/utils.py 2016-09-01 23:20:15 +0000
@@ -792,8 +792,7 @@
All parameters (default as well as settable) are saved using :yref:`yade.utils.saveVars`\ ``('table')``.
- :param tableFile: text file (with one value per blank-separated columns)
- :param int tableLine: number of line where to get the values from
+ :param tableFileLine: string attribute to define which line number (as seen in a text editor) from wich text file (with one value per blank-separated columns) to get the values from. A ':' should appear between the two informations, e.g. 'file.table:4' to read the 4th line from file.table file
:param bool noTableOk: if False, raise exception if the file cannot be open; use default values otherwise
:param bool unknownOk: do not raise exception if unknown column name is found in the file, and assign it as well
:return: number of assigned parameters