Skip to content

Commit

Permalink
Merge pull request #126 from bourque/monitor-filesystem-doc-fix
Browse files Browse the repository at this point in the history
Fix overline in monitor_filesystem docs
  • Loading branch information
bourque authored Aug 22, 2018
2 parents 562db94 + c700a03 commit 384af98
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 11 deletions.
4 changes: 2 additions & 2 deletions docs/source/monitor_filesystem.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
***********
******************
monitor_filesystem
***********
******************

.. automodule:: jwql.monitor_filesystem.monitor_filesystem
:members:
Expand Down
4 changes: 2 additions & 2 deletions docs/source/monitor_mast.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
*********
************
monitor_mast
*********
************

.. automodule:: jwql.monitor_mast.monitor_mast
:members:
Expand Down
16 changes: 9 additions & 7 deletions jwql/monitor_filesystem/monitor_filesystem.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,29 +15,31 @@
---
This module can be executed from the command line:
::
python monitor_filesystem.py
Alternatively, it can be called from scripts with the following
import statements:
::
from monitor_filesystem import filesystem_monitor
from monitor_filesystem import plot_system_stats
from monitor_filesystem import filesystem_monitor
from monitor_filesystem import plot_system_stats
Required arguments (in a ``config.json`` file):
``filepath`` - The path to the input file needs to be in a
``config.json`` file in the ``utils`` directory
``config.json`` file in the ``utils`` directory
``outputs`` - The path to the output files needs to be in a
``config.json`` file in the ``utils`` directory.
``config.json`` file in the ``utils`` directory.
Required arguments for plotting:
``inputfile`` - The name of the file to save all of the system
statistics to
statistics to
``filebytype`` - The name of the file to save stats on fits type
files to
files to
Dependencies
Expand Down Expand Up @@ -281,7 +283,7 @@ def plot_system_stats(stats_file, filebytype, sizebytype):
output_file(outfile)
save(grid)
set_permissions(outfile)

# Begin logging:
logging.info("Completed.")

Expand Down

0 comments on commit 384af98

Please sign in to comment.