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

Add check on objects' internal shapes #387

Open
smoia opened this issue Mar 9, 2021 · 0 comments
Open

Add check on objects' internal shapes #387

smoia opened this issue Mar 9, 2021 · 0 comments
Labels
Enhancement New feature or request

Comments

@smoia
Copy link
Member

smoia commented Mar 9, 2021

ATM, our main objects (Blueprint Input/Output) do not check that all properties (lists) have the same amount of entries.
For example, the data could feature only 3 channels, but the names and units list might contain 100 entries.

We could add a small check on initialisation: all properties should have the same length (that of the data, to be precise).

@smoia smoia added the Enhancement New feature or request label Mar 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant