Skip to content

Add LineAnnotation and LinePrediction support#224

Merged
flubstep merged 7 commits intomasterfrom
add-line-annotation
Mar 9, 2022
Merged

Add LineAnnotation and LinePrediction support#224
flubstep merged 7 commits intomasterfrom
add-line-annotation

Conversation

@flubstep
Copy link
Contributor

No description provided.

return MultiCategoryAnnotation.from_json(payload)
else:
return SegmentationAnnotation.from_json(payload)
type_key_to_type: Dict[str, Type[Annotation]] = {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Needed to move this to a dict lookup because pylint will block if you have more than 6 returns in one function.

@flubstep flubstep merged commit 29d0f3e into master Mar 9, 2022
@flubstep flubstep deleted the add-line-annotation branch March 9, 2022 20: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.

2 participants