Skip to content

Conversation

@jihan-yin
Copy link
Contributor

Adds function to slice instance that lets users append new images to the slice. Tested locally, working with conjunction with https://github.com/scaleapi/scaleapi/pull/21392.

Copy link
Contributor

@sasha-scale sasha-scale left a comment

Choose a reason for hiding this comment

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

one small nit, otherwise looks good (tested locally). Merge scaleapi PR first!

nucleus/slice.py Outdated
"""
if dataset_item_ids and reference_ids:
raise Exception(
"You cannot both dataset_item_ids and reference_ids"
Copy link
Contributor

Choose a reason for hiding this comment

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

grammar error with message here: "You cannot specify both dataset_item_ids and reference_ids"

@jihan-yin jihan-yin merged commit 1ae4335 into master Feb 10, 2021
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.

3 participants