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 type annotations to major functionalities #297

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

anwai98
Copy link
Collaborator

@anwai98 anwai98 commented Jun 10, 2024

No description provided.

@anwai98 anwai98 marked this pull request as ready for review June 20, 2024 14:02
@anwai98
Copy link
Collaborator Author

anwai98 commented Jun 20, 2024

I'll leave the first round of touch-up at this. This can be merged at the moment. Thanks!

Copy link
Owner

@constantinpape constantinpape left a comment

Choose a reason for hiding this comment

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

I only had a first look, will need a bit longer to review this carefully.

patch_shape: Tuple[int, ...],
raw_transform=None,
label_transform=None,
label_transform2=None,
transform=None,
roi: Optional[dict] = None,
roi: Optional[Union[Dict[str, Any], List[Any]]] = None,
Copy link
Owner

Choose a reason for hiding this comment

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

I don't think this one is true. This actually needs to either be a slice or a tuple of slices.

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