NeurodataWithoutBorders / pynwb

A Python API for working with Neurodata stored in the NWB Format
https://pynwb.readthedocs.io
Other
177 stars 84 forks source link

[Bug]: UserWarning: NWBFile not found within the configuration for core #1939

Open rly opened 3 months ago

rly commented 3 months ago

What happened?

When linkml is installed, the test suite generates a few unexpected warnings. See https://github.com/NeurodataWithoutBorders/pynwb/actions/runs/10053028713/job/27828470283

I am not sure why they are being generated or if this might appear for typical users.

Steps to Reproduce

Run test suite with linkml installed and no configuration file

Traceback

/home/runner/work/pynwb/pynwb/.tox/py311-optional/lib/python3.11/site-packages/hdmf/container.py:142: UserWarning: NWBFile not found within the configuration for core
  warn(msg)

Operating System

macOS

Python Executable

Conda

Python Version

3.11

Package Versions

No response

Code of Conduct

mavaylon1 commented 3 months ago

Sure thing