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

commits-noreply at bitbucket.org commits-noreply at bitbucket.org
Wed Feb 22 13:15:51 PST 2017


2 new commits in yt:

https://bitbucket.org/yt_analysis/yt/commits/3e4c9caa50b9/
Changeset:   3e4c9caa50b9
Branch:      yt
User:        ngoldbaum
Date:        2017-02-17 20:23:14+00:00
Summary:     fix syntax error in units_override example
Affected #:  1 file

diff -r 490469277e393449dd04255a900f75103d683abe -r 3e4c9caa50b93c191205f7c296e596ec47907af6 doc/source/examining/loading_data.rst
--- a/doc/source/examining/loading_data.rst
+++ b/doc/source/examining/loading_data.rst
@@ -151,9 +151,9 @@
 
    import yt
 
-   units_override = {"length_unit":(1.0,"Mpc"),
-                     "time_unit"(1.0,"Myr"),
-                     "mass_unit":(1.0e14,"Msun")}
+   units_override = {"length_unit": (1.0, "Mpc"),
+                     "time_unit": (1.0, "Myr"),
+                     "mass_unit": (1.0e14, "Msun")}
 
    ds = yt.load("id0/cluster_merger.0250.vtk", units_override=units_override)
 


https://bitbucket.org/yt_analysis/yt/commits/60c93dbd7e84/
Changeset:   60c93dbd7e84
Branch:      yt
User:        xarthisius
Date:        2017-02-22 21:15:43+00:00
Summary:     Merged in ngoldbaum/yt (pull request #2524)

fix syntax error in units_override example

Approved-by: Kacper Kowalik
Affected #:  1 file

diff -r abf5a8eff1b2d0cd776a41a33e5d3f3d25232ecc -r 60c93dbd7e84ff58f702b6978f91ee0a07ead14a doc/source/examining/loading_data.rst
--- a/doc/source/examining/loading_data.rst
+++ b/doc/source/examining/loading_data.rst
@@ -151,9 +151,9 @@
 
    import yt
 
-   units_override = {"length_unit":(1.0,"Mpc"),
-                     "time_unit"(1.0,"Myr"),
-                     "mass_unit":(1.0e14,"Msun")}
+   units_override = {"length_unit": (1.0, "Mpc"),
+                     "time_unit": (1.0, "Myr"),
+                     "mass_unit": (1.0e14, "Msun")}
 
    ds = yt.load("id0/cluster_merger.0250.vtk", units_override=units_override)

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