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

Modified decoy scrambler to no longer use static Random generator #798

Merged
merged 3 commits into from
Sep 13, 2024

Conversation

Alexander-Sol
Copy link
Contributor

When using the decoy scramble methods, previously a static Random object was used to generate scrambled sequences. This gave non-reproducible results. The method has been changed to initialize a new Random object each time the method is called.

Copy link

codecov bot commented Sep 13, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 75.52%. Comparing base (7055d84) to head (8339cdb).
Report is 1 commits behind head on master.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #798   +/-   ##
=======================================
  Coverage   75.52%   75.52%           
=======================================
  Files         202      202           
  Lines       30945    30945           
  Branches     3129     3129           
=======================================
  Hits        23371    23371           
  Misses       7040     7040           
  Partials      534      534           
Files with missing lines Coverage Δ
mzLib/Proteomics/Protein/Protein.cs 95.70% <100.00%> (ø)

@trishorts trishorts self-requested a review September 13, 2024 18:27
@nbollis nbollis merged commit 983c3b0 into smith-chem-wisc:master Sep 13, 2024
3 checks passed
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.

6 participants