Skip to content

Commit

Permalink
Merge pull request #361 from absolutelyNoWarranty/patch-1
Browse files Browse the repository at this point in the history
Fix errors in experiment.rst
  • Loading branch information
Qwlouse committed Sep 27, 2018
2 parents 7570eda + 5111ffb commit 099715a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/experiment.rst
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ and possibly overwrite each others values.
Capture Functions
=================
To use a configuration value all you have to do is *capture* a function and
accept it as a parameter. Whenever you now call that function Sacred will
accept the configuration value as a parameter. Whenever you now call that function Sacred will
try to fill in missing parameters from the configuration.
To see how that works we need to *capture* some function:

Expand Down Expand Up @@ -184,7 +184,7 @@ add an observer like this:
ex.observers.append(MongoObserver.create())
At the moment ``MongoObserver`` is the only observer shipped with Sacred.
``MongoObserver`` is one of the default observers shipped with Sacred.
It connects to a MongoDB and puts all these information into a document in a
collection called ``experiments``. You can also add this observer from the
:doc:`command_line` like this::
Expand All @@ -208,7 +208,7 @@ behaviour if no observers are added to the experiment.
If the capture mode is set to ``sys`` then sacred captures all outputs written
to ``sys.stdout`` and ``sys.stderr`` such as ``print`` statements, stacktraces
and logging. In this mode outputs by system-calls, C-extensions or subprocesses
are likely *not captured*. This behaviour is default for windows.
are likely *not captured*. This behaviour is default for Windows.

Finally, the ``fd`` mode captures outputs on the file descriptor level, and
should include all outputs made by the program or any child-processes.
Expand Down

0 comments on commit 099715a

Please sign in to comment.