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

refactor: rename labelmaps to segment groups #494

Merged
merged 1 commit into from
Nov 9, 2023

Conversation

floryst
Copy link
Collaborator

@floryst floryst commented Nov 8, 2023

@aylward @PaulHax this goes into #444. It renames labelmap -> segment group and label -> segment (mask).

@@ -8,11 +8,15 @@ import { useIdStore } from '@/src/store/id';
import { onImageDeleted } from '@/src/composables/onImageDeleted';
import { normalizeForStore, removeFromArray } from '@/src/utils';
import { compareImageSpaces } from '@/src/utils/imageSpace';
import { LabelMapSegment } from '@/src/types/labelmap';
import { DEFAULT_LABELMAP_SEGMENTS } from '@/src/config';
import { SegmentMask } from '@/src/types/segment';
Copy link
Collaborator

Choose a reason for hiding this comment

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

When should we prefer camelCase over kebab-case for file names?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I've been switching to use camelCase for file names, so I'd recommend doing that. It is mostly just a developer cosmetic, so I'm not looking to change all at once, and I'm not going to consider it strongly in a review.

@floryst floryst merged commit 9598381 into convert-to-labelmap Nov 9, 2023
3 checks passed
@floryst floryst deleted the rename-labelmaps-to-segment-groups branch November 9, 2023 16:27
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