Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Redmar-van-den-Berg committed Oct 21, 2024
1 parent 438ee5e commit 7e722aa
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions includes/expression/common.smk
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
from types import SimpleNamespace
from scripts import gtf

containers = {
}
containers = {}


pepfile: config["pepfile"]

Expand Down Expand Up @@ -42,15 +42,15 @@ def check_housekeeping():
ensg_to_name = gtf.gene_id_name(fin)

# Create mapping from name to ENSG
name_to_ensg = {v:k for k,v in ensg_to_name.items()}
name_to_ensg = {v: k for k, v in ensg_to_name.items()}

# Raise an error on unknown genes
for gene in config["housekeeping"]:
if gene not in name_to_ensg:
msg=f"Unknown housekeeping gene: {gene}"
msg = f"Unknown housekeeping gene: {gene}"
raise RuntimeError(msg)


check_housekeeping()

module_output = SimpleNamespace(
)
module_output = SimpleNamespace()

0 comments on commit 7e722aa

Please sign in to comment.