Skip to content

Commit

Permalink
fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
Phlya committed Feb 5, 2024
1 parent 0e85507 commit 3a8a64b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions coolpuppy/lib/puputils.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
from .numutils import get_enrichment, get_domain_score, get_insulation_strength

import numpy as np
import pandas as pd
from more_itertools import collapse
Expand All @@ -6,8 +8,6 @@

logger = logging.getLogger("coolpuppy")

from .numutils import get_enrichment, get_domain_score, get_insulation_strength


def _add_snip(outdict, key, snip, extra_funcs=None):
if key not in outdict:
Expand Down Expand Up @@ -75,12 +75,12 @@ def get_score(pup, center=3, ignore_central=3):
else:
if pup["rescale"]:
logger.debug(
f"Calculating domain enrichment for the central rescaled domain versus surrounding"
"Calculating domain enrichment for the central rescaled domain versus surrounding"
)
return get_domain_score(pup["data"], pup["rescale_flank"])
else:
logger.debug(
f"Calculating insulation score, i.e., upper left and lower right corners over upper right and lower left corners"
"Calculating insulation score, i.e., upper left and lower right corners over upper right and lower left corners"
)
return get_insulation_strength(pup["data"], ignore_central)

Expand Down

0 comments on commit 3a8a64b

Please sign in to comment.