Browse Source

Fix some comments and text

git-svn-id: https://bucket.mit.edu/svn/nilm/nilmdb@10998 ddd99763-3ecb-0310-9145-efcb8ce7c51f
tags/bxinterval-last
Jim Paris 11 years ago
parent
commit
cb6561c151
2 changed files with 3 additions and 3 deletions
  1. +2
    -2
      nilmdb/cmdline/create.py
  2. +1
    -1
      nilmdb/interval.py

+ 2
- 2
nilmdb/cmdline/create.py View File

@@ -15,9 +15,9 @@ def setup(self, sub):
cmd.set_defaults(handler = cmd_create)
group = cmd.add_argument_group("Required arguments")
group.add_argument("path",
help="Path of new stream, e.g. /foo/bar")
help="Path (in database) of new stream, e.g. /foo/bar")
group.add_argument("layout",
help="Layout type for new stream, e.g. RawData")
help="Layout type for new stream, e.g. float32_8")

def cmd_create(self):
"""Create new stream"""


+ 1
- 1
nilmdb/interval.py View File

@@ -2,7 +2,7 @@

Represents an interval of time, and a set of such intervals.

Intervals are half-open, ie. they include timestamps [start, end)
Intervals are closed, ie. they include timestamps [start, end]
"""

# First implementation kept a sorted list of intervals and used


Loading…
Cancel
Save