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 vessel set #2

Closed
wants to merge 14 commits into from
Closed

Add vessel set #2

wants to merge 14 commits into from

Conversation

Zachary-Ip
Copy link
Collaborator

  • VesselSet class added
  • test_vesel_set added

@Zachary-Ip Zachary-Ip linked an issue Nov 27, 2023 that may be closed by this pull request
isx/__init__.py Outdated Show resolved Hide resolved
isx/__init__.py Outdated Show resolved Hide resolved
isx/__init__.py Show resolved Hide resolved
isx/__init__.py Outdated Show resolved Hide resolved
isx/__init__.py Outdated Show resolved Hide resolved
isx/__init__.py Show resolved Hide resolved
isx/__init__.py Outdated Show resolved Hide resolved
tests/test_isx.py Show resolved Hide resolved

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"
Copy link
Contributor

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"
Copy link
Contributor

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

@Zachary-Ip Zachary-Ip marked this pull request as draft December 1, 2023 17:30
@nosheen-adil
Copy link
Contributor

Closing since this functionality is now available in v2 api.

@nosheen-adil nosheen-adil deleted the add-VesselSet branch October 9, 2024 14:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Upgrades py_isx
3 participants