Skip to content

Don't check for duplicate haplosome IDs - #554

Merged
bhaller merged 1 commit into
MesserLab:masterfrom
petrelharp:no_dup_id_check
Sep 7, 2025
Merged

Don't check for duplicate haplosome IDs#554
bhaller merged 1 commit into
MesserLab:masterfrom
petrelharp:no_dup_id_check

Conversation

@petrelharp

Copy link
Copy Markdown
Collaborator

As discussed in #538, the check that no haplosome IDs overlap is being overly restrictive for applciations involving parallel simulations. This moves that duplicate haplosome ID check to "only haplosomes in individuals", not all of them.

Comment thread core/species.cpp Outdated
// due to the nature of the values being inserted. Shouldn't be a big deal in the grand scheme of things.
// Previously, we checked for duplicate pedigree IDs here as well, just in case.
// __CreateSubpopulationsFromTabulation() does this for haplosome IDs in
// living individuals already pedigree IDs; however, it was found to be

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

the comment text here is garbled and I'm not sure what it is intended to say; please fix

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

whoops; done

@bhaller
bhaller merged commit 298308b into MesserLab:master Sep 7, 2025
16 checks passed
@bhaller
bhaller deleted the no_dup_id_check branch September 7, 2025 23:18
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