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 assertions for 1:1 mapping of rows for extractors #538

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

zerismo
Copy link
Collaborator

@zerismo zerismo commented Aug 23, 2024

No description provided.

Copy link

ellipsis-dev bot commented Aug 23, 2024

Your free trial has expired. To keep using Ellipsis, sign up at https://app.ellipsis.dev for $20/seat/month or reach us at help@ellipsis.dev

Comment on lines 286 to 287
assert "Output length mismatch" in str(exc_info.value)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we also list out the differences in length

Comment on lines 476 to 483
# Check if all input series have the same length
first_length = input_lengths[0]

for i, series in enumerate(input_series):
assert len(series) == first_length, (
f"Input length mismatch: expected {first_length}, got {len(series)} for input {i+1}"
)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is provided by us and you can assume that is correct

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.

2 participants