[yt-svn] commit/yt: 3 new changesets

commits-noreply at bitbucket.org commits-noreply at bitbucket.org
Wed Oct 12 08:54:12 PDT 2016


3 new commits in yt:

https://bitbucket.org/yt_analysis/yt/commits/8cde24c54d30/
Changeset:   8cde24c54d30
Branch:      yt
User:        ngoldbaum
Date:        2016-09-29 15:31:14+00:00
Summary:     removing outdated instructions about setting config options on the command line
Affected #:  1 file

diff -r 098f53627175f611a2b5c45e69efbd5048bb70fb -r 8cde24c54d309ab19d20c3858047116c2e8ee7aa doc/source/reference/configuration.rst
--- a/doc/source/reference/configuration.rst
+++ b/doc/source/reference/configuration.rst
@@ -72,27 +72,6 @@
 file. Note that a log level of 1 means that all log messages are printed to
 stdout.  To disable logging, set the log level to 50.
 
-Setting Configuration On the Command Line
-^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-
-Options can also be set directly on the command line by specifying a
-command-line option.  For instance, if you are running the script
-``my_script.py`` you can specify a configuration option with the ``--config``
-argument.  As an example, to lower the log level (thus making it more verbose)
-you can specify:
-
-.. code-block:: bash
-
-   $ python2.7 my_script.py --config loglevel=1
-
-Any configuration option specific to yt can be specified in this manner.  One
-common configuration option would be to disable serialization:
-
-.. code-block:: bash
-
-   $ python2.7 my_script.py --config serialize=False
-
-This way projections are always re-created.
 
 Available Configuration Options
 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^


https://bitbucket.org/yt_analysis/yt/commits/1afdbcff47a3/
Changeset:   1afdbcff47a3
Branch:      yt
User:        ngoldbaum
Date:        2016-09-29 15:35:17+00:00
Summary:     edit invalid advice about how to set the yt log level in the FAQ. Closes #1285
Affected #:  1 file

diff -r 8cde24c54d309ab19d20c3858047116c2e8ee7aa -r 1afdbcff47a3b5316619c73c9449fb8cd6bfa486 doc/source/faq/index.rst
--- a/doc/source/faq/index.rst
+++ b/doc/source/faq/index.rst
@@ -447,8 +447,8 @@
 
 .. code-block:: python
 
-   from yt.config import ytcfg
-   ytcfg["yt","loglevel"] = "40" # This sets the log level to "ERROR"
+   from yt.funcs import mylog
+   mylog.setLevel(40) # This sets the log level to "ERROR"
 
 which in this case would suppress everything below error messages. For reference, the numerical
 values corresponding to different log levels are:


https://bitbucket.org/yt_analysis/yt/commits/77f2798ee447/
Changeset:   77f2798ee447
Branch:      yt
User:        xarthisius
Date:        2016-10-12 15:53:44+00:00
Summary:     Merged in ngoldbaum/yt (pull request #2400)

Updating outdated instructions about setting log level from docs. Closes #1285
Affected #:  2 files

diff -r d758c501e2f978eb8e2c817550595f41071b4b82 -r 77f2798ee447ff044484bb2a6604e022c0d47752 doc/source/faq/index.rst
--- a/doc/source/faq/index.rst
+++ b/doc/source/faq/index.rst
@@ -447,8 +447,8 @@
 
 .. code-block:: python
 
-   from yt.config import ytcfg
-   ytcfg["yt","loglevel"] = "40" # This sets the log level to "ERROR"
+   from yt.funcs import mylog
+   mylog.setLevel(40) # This sets the log level to "ERROR"
 
 which in this case would suppress everything below error messages. For reference, the numerical
 values corresponding to different log levels are:

diff -r d758c501e2f978eb8e2c817550595f41071b4b82 -r 77f2798ee447ff044484bb2a6604e022c0d47752 doc/source/reference/configuration.rst
--- a/doc/source/reference/configuration.rst
+++ b/doc/source/reference/configuration.rst
@@ -72,27 +72,6 @@
 file. Note that a log level of 1 means that all log messages are printed to
 stdout.  To disable logging, set the log level to 50.
 
-Setting Configuration On the Command Line
-^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-
-Options can also be set directly on the command line by specifying a
-command-line option.  For instance, if you are running the script
-``my_script.py`` you can specify a configuration option with the ``--config``
-argument.  As an example, to lower the log level (thus making it more verbose)
-you can specify:
-
-.. code-block:: bash
-
-   $ python2.7 my_script.py --config loglevel=1
-
-Any configuration option specific to yt can be specified in this manner.  One
-common configuration option would be to disable serialization:
-
-.. code-block:: bash
-
-   $ python2.7 my_script.py --config serialize=False
-
-This way projections are always re-created.
 
 Available Configuration Options
 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Repository URL: https://bitbucket.org/yt_analysis/yt/

--

This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.



More information about the yt-svn mailing list