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

option to to force new segments in add_segments #410

Merged
merged 3 commits into from
Jan 27, 2025
Merged

Conversation

sildater
Copy link
Member

add_segments used to do nothing when segments are present, but several unfolding methods read and overwrite segment attributes in place, which renders them unusable for further unfolding/processing. now one can start from scratch using the flag force_new in add_segments to get freshly initialized segments. the default behavior doesn't change.

@sildater sildater requested review from huispaty and removed request for CarlosCancino-Chacon January 21, 2025 15:01
Copy link
Collaborator

@huispaty huispaty left a comment

Choose a reason for hiding this comment

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

The new argument force_new allows creating new unfoldings if segment markers have been changed, which makes score processing further down the line more convenient and flexible.

@huispaty huispaty merged commit 8b06aee into develop Jan 27, 2025
3 checks passed
@manoskary manoskary mentioned this pull request Jan 27, 2025
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