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

Add default confidence param to sssom file while creating ptable #388

Merged
merged 20 commits into from
Jun 30, 2023

Conversation

hrshdhgd
Copy link
Contributor

@hrshdhgd hrshdhgd commented Jun 29, 2023

If the confidence column is absent, ptable cannot be generated.

Fix: Add the confidence column if absent and initialize it to a user provided value. If present, then fill Nones by that value

@hrshdhgd hrshdhgd requested a review from matentzn June 29, 2023 21:30
src/sssom/cli.py Outdated Show resolved Hide resolved
src/sssom/util.py Outdated Show resolved Hide resolved
@hrshdhgd hrshdhgd requested a review from matentzn June 30, 2023 13:39
src/sssom/cli.py Outdated Show resolved Hide resolved
src/sssom/util.py Outdated Show resolved Hide resolved
@hrshdhgd hrshdhgd requested a review from matentzn June 30, 2023 14:21
src/sssom/cli.py Show resolved Hide resolved
src/sssom/cli.py Outdated Show resolved Hide resolved
src/sssom/cli.py Outdated Show resolved Hide resolved
src/sssom/util.py Outdated Show resolved Hide resolved
@hrshdhgd hrshdhgd requested a review from matentzn June 30, 2023 15:14
matentzn
matentzn previously approved these changes Jun 30, 2023
Copy link
Collaborator

@matentzn matentzn left a comment

Choose a reason for hiding this comment

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

Fantastic effort! THANK YOU!

@hrshdhgd hrshdhgd changed the title Add default confidence of 0.95 to sssom file while creating ptable Add default confidence param to sssom file while creating ptable Jun 30, 2023
@hrshdhgd hrshdhgd merged commit 810e69e into master Jun 30, 2023
6 checks passed
@hrshdhgd hrshdhgd deleted the add-default-confidence branch June 30, 2023 16:49
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.

None yet

2 participants