Skip to content

Commit

Permalink
Fix #61
Browse files Browse the repository at this point in the history
  • Loading branch information
dburkhardt committed Jan 30, 2023
1 parent 82fa2b3 commit cf4ec85
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pycisTopic/pseudobulk_peak_calling.py
Original file line number Diff line number Diff line change
Expand Up @@ -522,7 +522,7 @@ def macs_call_peak(
q_value=q_value,
nolambda=nolambda,
)
log.info(name + " done!")
log.info(f"{name} done!")
return MACS_peak_calling

@ray.remote
Expand Down Expand Up @@ -646,7 +646,7 @@ def __init__(
):
self.macs_path = macs_path
self.treatment = bed_path
self.name = name
self.name = str(name)
self.outdir = outdir
self.input_format = input_format
self.gsize = genome_size
Expand Down Expand Up @@ -708,7 +708,7 @@ def load_narrow_peak(self):
Load MACS2 narrow peak files as :class:`pr.PyRanges`.
"""
narrow_peak = pd.read_csv(
os.path.join(self.outdir, self.name + "_peaks.narrowPeak"),
os.path.join(self.outdir, f"{self.name}_peaks.narrowPeak"),
sep="\t",
header=None,
)
Expand Down

0 comments on commit cf4ec85

Please sign in to comment.