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

Fix dup margin default value #234

Merged
merged 4 commits into from
Jun 5, 2024
Merged

Fix dup margin default value #234

merged 4 commits into from
Jun 5, 2024

Conversation

JeanMainguy
Copy link
Member

@JeanMainguy JeanMainguy commented Jun 5, 2024

As highlighted in issue #223, the default value of dup_margin in the function is_single_copy was incorrect and should be 0.05. However, this had no practical impact as the default value was never actually used.

This PR removes the is_single_copy function and replaces it with the is_single_copy method from the Gene_Family class, which is already utilized elsewhere in the code. This change reduces code duplication and ensures consistency across the codebase.

This update addresses the concerns raised in issue #223.

@JeanMainguy JeanMainguy marked this pull request as ready for review June 5, 2024 12:20
@jpjarnoux jpjarnoux merged commit 85ecdb9 into dev Jun 5, 2024
4 checks passed
@jpjarnoux jpjarnoux deleted the fix_dup_margin_default branch June 5, 2024 15:53
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