Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: nwb_generate_format_docs: Support generating complete documentation #5

Merged
merged 1 commit into from
Apr 9, 2018

Conversation

jcfr
Copy link
Collaborator

@jcfr jcfr commented Apr 7, 2018

This commit fixes the error reported below and ensure the complete
schema documentation including both the core and the extension schema
is generated.

Traceback (most recent call last):
  File "/home/jcfr/Projects/pynwb/src/pynwb/form/spec/namespace.py", line 379, in load_namespaces
    inc_ns = self.get_namespace(s['namespace'])
  File "/home/jcfr/Projects/pynwb/src/pynwb/form/utils.py", line 348, in func_call
    return func(self, **parsed['args'])
  File "/home/jcfr/Projects/pynwb/src/pynwb/form/spec/namespace.py", line 240, in get_namespace
    raise KeyError("'%s' not a namespace" % name)
KeyError: "'core' not a namespace"

See #3

Co-authored-by: Andrew Tritt [email protected]

This commit fixes the error reported below and ensure the complete
schema documentation including both the core and the extension schema
is generated.

```
Traceback (most recent call last):
  File "/home/jcfr/Projects/pynwb/src/pynwb/form/spec/namespace.py", line 379, in load_namespaces
    inc_ns = self.get_namespace(s['namespace'])
  File "/home/jcfr/Projects/pynwb/src/pynwb/form/utils.py", line 348, in func_call
    return func(self, **parsed['args'])
  File "/home/jcfr/Projects/pynwb/src/pynwb/form/spec/namespace.py", line 240, in get_namespace
    raise KeyError("'%s' not a namespace" % name)
KeyError: "'core' not a namespace"
```

See #3

Co-authored-by: Andrew Tritt <[email protected]>
@oruebel oruebel merged commit 8751ae4 into master Apr 9, 2018
@oruebel oruebel deleted the support-generating-full-schema-doc branch April 9, 2018 20:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants