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

File Validation Error #1166

Closed
MarikeReimer opened this issue Jan 30, 2020 · 6 comments · Fixed by #1164
Closed

File Validation Error #1166

MarikeReimer opened this issue Jan 30, 2020 · 6 comments · Fixed by #1164
Labels
category: bug errors in the code or code behavior topic: validator issues related to validation of files

Comments

@MarikeReimer
Copy link

Description

When I try to validate my NWB files, I get a value error for the namespace.

Steps to Reproduce

  1. Create NWB file in this tutorial:
    https://pynwb.readthedocs.io/en/stable/tutorials/domain/ecephys.html#sphx-glr-tutorials-domain-ecephys-py

  2. Attempt validation in Jupyter/command prompt.

  3. Observe error:
    ValueError: data type 'NWBFile' not found in namespace hdmf-common

Jupyter:
! python -m pynwb.validate ecephys_example.nwb

Command prompt:
python -m pynwb.validate ecephys_example.nwb

Environment

Python Executable: Python
Python Version: Python 3.7.5
Operating System: Windows
HDMF Version: Version of PyNWB used: 1.1.2

Checklist

  • [ X] Have you ensured the feature or change was not already reported?
  • [X ] Have you included a brief and descriptive title?
  • [ X] Have you included a clear description of the problem you are trying to solve?
  • [ X] Have you included a minimal code snippet that reproduces the issue you are encountering?
  • [X ] Have you checked our Contributing document?
@MarikeReimer MarikeReimer added the category: bug errors in the code or code behavior label Jan 30, 2020
@t-b
Copy link
Collaborator

t-b commented Jan 30, 2020

Is that the same as #1157?

@MarikeReimer
Copy link
Author

MarikeReimer commented Jan 30, 2020 via email

@oruebel
Copy link
Contributor

oruebel commented Jan 30, 2020

From the errors it sounds like this may have to do with move of things from PyNWB to HDMF.

CC @rly @ajtritt f

@t-b
Copy link
Collaborator

t-b commented Jan 30, 2020

I'm happy to (help) tackling that if I can get some pointers.

@oruebel
Copy link
Contributor

oruebel commented Jan 30, 2020

Thanks @t-b Luckily the hackathon is coming up next week, so if we can't get to it now, then just ping Andrew or Ryan there ;-)

@rly
Copy link
Contributor

rly commented Jan 30, 2020

I believe this specific error will be fixed by this commit in #1167: 1e6a513

I believe the errors are different between this and #1157 because PyNWB 1.1.2 does not yet incorporate the recently merged PR #1094

@t-b t-b added the topic: validator issues related to validation of files label Feb 3, 2020
@rly rly closed this as completed in #1164 Feb 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category: bug errors in the code or code behavior topic: validator issues related to validation of files
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants