Skip to content

Commit

Permalink
Add pepe_silvia function and get_scale_method to helpers.py
Browse files Browse the repository at this point in the history
  • Loading branch information
alsmith151 committed Mar 20, 2024
1 parent 0c69f0d commit bf2f4d6
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion seqnado/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,10 +172,27 @@ def check_options(value: object):
else:
return value

def pepe_silvia():
print("PEPE SILVIA")
_pepe_silvia = (
"https://relix.com/wp-content/uploads/2017/03/tumblr_o16n2kBlpX1ta3qyvo1_1280.jpg"
)
return _pepe_silvia


def get_group_for_sample(wildcards, design: Union[Design, DesignIP]):
from seqnado.helpers import NormGroups
from seqnado.design import NormGroups

norm_groups = NormGroups.from_design(design)
group = norm_groups.get_sample_group(wildcards.sample)
return group

def get_scale_method(config: Dict) -> Optional[str]:
"""
Returns the scale method based on the config.
"""
if config["spikein"]:
method = "spikein"

return method

0 comments on commit bf2f4d6

Please sign in to comment.