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]: Allow initializing DynamicTable with req/opt cols more directly #921

Open
3 tasks done
rly opened this issue Jul 27, 2023 · 0 comments
Open
3 tasks done
Assignees
Labels
category: enhancement improvements of code or code behavior priority: medium non-critical problem and/or affecting only a small set of users
Milestone

Comments

@rly
Copy link
Contributor

rly commented Jul 27, 2023

What would you like to see added to HDMF?

Given a subclass of DynamicTable with required and/or optional columns, the autogenerated Python class should allow something like the below:

ContactTable(
	name="contacts",
	description="description",
	contact_ids=["1","2"],
	contact_shapes=["circle", "square"],
	contact_shape_params=[10.0, 20.0],
	contact_plane_axes=[[[1,2],[3,4]],[[4,2],[2,1]]],
	contact_positions=[[1,2], [3,3]],
	contact_annotations=["blah","b"],
	device_channel_indices=[0,1]
)

Is your feature request related to a problem?

No response

What solution would you like?

see above

Do you have any interest in helping implement the feature?

Yes.

Code of Conduct

@oruebel oruebel added category: enhancement improvements of code or code behavior priority: medium non-critical problem and/or affecting only a small set of users labels Jul 27, 2023
@oruebel oruebel added this to the Future milestone Jul 27, 2023
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: medium non-critical problem and/or affecting only a small set of users
Projects
None yet
Development

No branches or pull requests

2 participants