Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Changes in documentation + README to reflect stand-alone repo status

  • Loading branch information...
commit d65cecaf6a853ee03e04e8b6bf90c26c9dcdfdce 1 parent b7dca18
@andrewgiessel andrewgiessel authored
Showing with 5 additions and 7 deletions.
  1. +1 −1  MongoWrapper.py
  2. +4 −6 README.md
View
2  MongoWrapper.py
@@ -69,7 +69,7 @@ class MongoWrapper(object):
Usage:
- import imaging_analysis.core.io.mongodb as mdb
+ import monogowrapper as mdb
# this creates both test and test_collection if they don't exist
# Note that this connects, by default, to 'localhost:27017'.
# If you want to connect to a remote host, pass in
View
10 README.md
@@ -22,6 +22,7 @@ Core methods:
Usage:
```
+import monogowrapper as mdb
db = mdb.MongoWrapper(dbName='test',
collectionName='test_collection',
hostname="localhost",
@@ -82,9 +83,6 @@ print my_loaded_dict
```
The added keys are:
- - `_npObjectIDs`
- - `_id`
- - `insertion_date`
-The `insertion_date` you might not care about, but do keep
-`_id` and `_npObjectIDs` around. They're important for tracking
-the document and the numpy arrays associated with it.
+ - `_npObjectIDs` - a list of all the GridFS IDs used to store the numpy arrays.
+ - `_id` - MongoDB id for the inserted document, automatically added
+ - `insertion_date` - current date of insertion, useful for indexing
Please sign in to comment.
Something went wrong with that request. Please try again.