Skip to content

refactor: rename labelmaps to segment groups#494

Merged
floryst merged 1 commit intoconvert-to-labelmapfrom
rename-labelmaps-to-segment-groups
Nov 9, 2023
Merged

refactor: rename labelmaps to segment groups#494
floryst merged 1 commit intoconvert-to-labelmapfrom
rename-labelmaps-to-segment-groups

Conversation

@floryst
Copy link
Contributor

@floryst floryst commented Nov 8, 2023

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

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
Contributor 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
@floryst floryst deleted the rename-labelmaps-to-segment-groups branch November 9, 2023 16:27
PaulHax pushed a commit to PaulHax/VolView that referenced this pull request Apr 24, 2025
…nt-groups

refactor: rename labelmaps to segment groups
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