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

refactor: export OffTargetDetector #37

Merged
merged 3 commits into from
Sep 24, 2024
Merged

Conversation

msto
Copy link
Collaborator

@msto msto commented Sep 23, 2024

This should be in the offtarget namespace if OffTargetResult is

@msto msto force-pushed the ms_export-offtarget-detector branch from 7446d19 to 47eb730 Compare September 23, 2024 14:44
Copy link

codecov bot commented Sep 23, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.37%. Comparing base (70f6840) to head (2178e40).
Report is 4 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #37   +/-   ##
=======================================
  Coverage   97.37%   97.37%           
=======================================
  Files          25       25           
  Lines        1597     1598    +1     
  Branches      302      302           
=======================================
+ Hits         1555     1556    +1     
  Misses         23       23           
  Partials       19       19           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@tfenne
Copy link
Member

tfenne commented Sep 23, 2024

I tend to agree .. but can you also search/replace to fix the imports in the examples please?

@msto
Copy link
Collaborator Author

msto commented Sep 23, 2024

Yep, done. (And did the same for #36 )

@msto msto force-pushed the ms_export-offtarget-detector branch from ac7f0af to 2178e40 Compare September 23, 2024 20:33
Comment on lines 22 to 27
from prymer.api.melting import calculate_long_seq_tm
from prymer.api.minoptmax import MinOptMax
from prymer.api.picking import FilteringParams
from prymer.api.picking import _dist_penalty
from prymer.api.picking import _seq_penalty
from prymer.api.picking import build_and_pick_primer_pairs
from prymer.api.picking import build_primer_pairs
from prymer.api.picking import check_primer_overlap
from prymer.api.picking import is_acceptable_primer_pair
from prymer.api.picking import pick_top_primer_pairs
from prymer.api.picking import score as picking_score
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Note that the remaining functions are not included in the api namespace, and must be imported from the appropriate submodule.

IMO these functions should either be added to the api namespace, or marked as private with a leading underscore, but I don't think that needs to fall within the scope of this PR

@msto msto merged commit 1451938 into main Sep 24, 2024
6 checks passed
@msto msto deleted the ms_export-offtarget-detector branch September 24, 2024 19:52
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