From 9d734631c680d6e5bb430d806cd21d2651f093d8 Mon Sep 17 00:00:00 2001 From: Oliver Ruebel Date: Sat, 16 May 2020 16:08:17 -0700 Subject: [PATCH] Fix docs for get_type_map (#1233) --- src/pynwb/__init__.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/pynwb/__init__.py b/src/pynwb/__init__.py index 57af58dfa..cddbbbdfb 100644 --- a/src/pynwb/__init__.py +++ b/src/pynwb/__init__.py @@ -49,12 +49,12 @@ def _get_resources(): @docval({'name': 'extensions', 'type': (str, TypeMap, list), 'doc': 'a path to a namespace, a TypeMap, or a list consisting of paths to namespaces and TypeMaps', 'default': None}, - returns="the namespaces loaded from the given file", rtype=tuple, + returns="TypeMap loaded for the given extension or NWB core namespace", rtype=tuple, is_method=False) def get_type_map(**kwargs): ''' - Get a BuildManager to use for I/O using the given extensions. If no extensions are provided, - return a BuildManager that uses the core namespace + Get the TypeMap for the given extensions. If no extensions are provided, + return the TypeMap for the core namespace ''' extensions = getargs('extensions', kwargs) type_map = None