Commits

J.S. Oishi committed 9a2bae2

correted for clarity.

Comments (0)

Files changed (1)

source/analyzing/objects.rst

    from yt.mods import *
    import shelve
 
+   pf = load("my_data") # not necessary if storeparameterfiles is on
+
    obj_file = shelve.open("my_storage_file.cpkl")
    pf, obj = obj_file["my_sphere"]
 
-Note here that this behaves slightly differently than above -- we do not need
-to load the parameter file ourselves, as the load process actually does that
-for us!  Additionally, we can store multiple objects in a single shelve file,
-so we have to call the sphere by name.
+If you have turned on ``storeparameterfiles`` in your configuration,
+you won't need to load the parameterfile again, as the load process
+will actually do that for you in that case.  Additionally, we can
+store multiple objects in a single shelve file, so we have to call the
+sphere by name.
 
 .. note:: It's also possible to use the standard :mod:`cPickle` module for
           loading and storing objects -- so in theory you could even save a