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

[Feature]: Notify user if python package for extension exists and is recommended #1818

Open
3 tasks done
rly opened this issue Jan 11, 2024 · 0 comments
Open
3 tasks done
Labels
category: enhancement improvements of code or code behavior priority: low alternative solution already working and/or relevant to only specific user(s) topic: extension issues related to extensions or dynamic class generation

Comments

@rly
Copy link
Contributor

rly commented Jan 11, 2024

What would you like to see added to PyNWB?

  1. Include a flag in the NWB catalog entry for an extension that says installing the python package is recommended
  2. In PyNWB, when loading an extension namespace, e.g., from an NWB file or from a namespace YAML file, if the catalog entry exists and that flag = true, then print a warning to the user to install the python package.

We would update the API regularly with a list of extensions in the catalog that have the flag = true.

Is your feature request related to a problem?

Some extensions have python packages that add extra functionality like object mappers and validation. The extension creator might want users of data from their extension to interact with the data using their python package. We could do something similar for Matlab.

What solution would you like?

See above.

Do you have any interest in helping implement the feature?

Yes.

Code of Conduct

@stephprince stephprince added category: enhancement improvements of code or code behavior topic: extension issues related to extensions or dynamic class generation priority: low alternative solution already working and/or relevant to only specific user(s) labels Apr 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category: enhancement improvements of code or code behavior priority: low alternative solution already working and/or relevant to only specific user(s) topic: extension issues related to extensions or dynamic class generation
Projects
None yet
Development

No branches or pull requests

2 participants