Skip to content

Commit

Permalink
refactor: fix import
Browse files Browse the repository at this point in the history
  • Loading branch information
Jwindler committed Dec 30, 2024
1 parent 1d84222 commit 9720f6f
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/plothic/ParseAsy.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
@Function: Parse assembly file to get the chromosome information
"""

from plothic.logger import logger
from .logger import logger


def parse_assembly(assembly_file):
Expand Down
6 changes: 3 additions & 3 deletions src/plothic/PlotHiC.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
import hicstraw
import numpy as np

from plothic.ParseHiC import parse_hic
from plothic.PlotMTX import plot_matrix
from plothic.logger import logger
from .ParseHiC import parse_hic
from .PlotMTX import plot_matrix
from .logger import logger


def plot_hic(hic, chr_txt, output='GenomeContact.pdf', resolution=None, data_type="observed",
Expand Down
2 changes: 1 addition & 1 deletion src/plothic/PlotMTX.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
from mpl_toolkits.axes_grid1 import make_axes_locatable
from numpy import log2

from plothic.logger import logger
from .logger import logger


def plot_matrix(matrix, chr_info=None, genome_name=None, outfile='GenomeContact.pdf', fig_size=(6, 6), dpi=300,
Expand Down
2 changes: 1 addition & 1 deletion src/plothic/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"""
import argparse

from plothic.PlotHiC import plot_hic
from .PlotHiC import plot_hic


def main():
Expand Down

0 comments on commit 9720f6f

Please sign in to comment.