Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

enforce multiprocess-dill #477

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions cooltools/api/snipping.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
from ..lib.numutils import LazyToeplitz
import warnings

import multiprocessing
from multiprocess import Pool


def expand_align_features(features_df, flank, resolution, format="bed"):
Expand Down Expand Up @@ -979,7 +979,7 @@ def pileup(
)

if nproc > 1:
pool = multiprocessing.Pool(nproc)
pool = Pool(nproc)
mymap = pool.map
else:
mymap = map
Expand Down
2 changes: 1 addition & 1 deletion cooltools/cli/coverage.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from . import cli
from .. import api
import bioframe
import multiprocessing as mp
import multiprocess as mp


@cli.command()
Expand Down
2 changes: 1 addition & 1 deletion cooltools/lib/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

import bioframe

from multiprocessing import Pool
from multiprocess import Pool


def assign_view_paired(
Expand Down
Loading