-
Notifications
You must be signed in to change notification settings - Fork 2
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 vessel set #2
Conversation
Zachary-Ip
commented
Nov 27, 2023
- VesselSet class added
- test_vesel_set added
|
||
vessel_obj.show_footer() | ||
im = vessel_obj.get_vessel_image_data(0) | ||
assert im.shape[0] > 0 and im.shape[1] > 0, "Expected image to have data" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we need stronger checks -- make sure the size is what you think it is
assert im.shape[0] > 0 and im.shape[1] > 0, "Expected image to have data" | ||
|
||
trace = vessel_obj.get_vessel_trace_data(0) | ||
assert trace.shape[0] > 0, "Expected trace to have data" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
verify that the shape is what it should be
Closing since this functionality is now available in v2 api. |