Skip to content

Commit 32e2508

Browse files
committed
Some minor changes to see if we can get this to work on google colab
1 parent 371962c commit 32e2508

File tree

3 files changed

+6
-9
lines changed

3 files changed

+6
-9
lines changed

minimappers2/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ minimap2-sys = { version = "0.1.10", features = ["simde"] }
1414
#minimap2 = { path = "../", features = ["simde"] }
1515
#minimap2-sys = { path = "../minimap2-sys", features = ["simde"] }
1616
crossbeam = "0.8.2"
17-
mimalloc = {version = "0.1.34", default-features = false }
17+
# mimalloc = {version = "0.1.34", default-features = false }
1818

1919
pyo3 = { version = "0.17.0", features = ["extension-module", "abi3-py37"] }
2020
polars = "0.26.1"

minimappers2/pyproject.toml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,18 +13,15 @@ license = { file = "LICENSE" }
1313
description = "A Python wrapper for minimap2-rs"
1414
keywords = ["minimap2", "bioinformatics", "alignment", "mapping"]
1515
dependencies = [
16-
"polars==0.15.15",
17-
"pyarrow==10.0.1",
16+
"polars>=0.15.15",
17+
"pyarrow>=10.0.1",
1818
]
1919

2020
[project.urls]
2121
homepage = "https://github.com/jguhlin/minimap2-rs"
2222
repository = "https://github.com/jguhlin/minimap2-rs"
2323

24-
2524
[build-system]
2625
requires = ["maturin>=0.14,<0.15"]
2726
build-backend = "maturin"
2827

29-
[options]
30-

minimappers2/src/lib.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
use std::num::NonZeroI32;
22
use std::sync::{Mutex, Arc};
33

4-
use mimalloc::MiMalloc;
4+
// use mimalloc::MiMalloc;
55
use minimap2::*;
66
use minimap2_sys::{mm_set_opt, MM_F_CIGAR};
77
use pyo3::prelude::*;
@@ -10,8 +10,8 @@ use polars::{prelude::*, df};
1010
use crossbeam::queue::ArrayQueue;
1111
use fffx::{Fasta, Fastq};
1212

13-
#[global_allocator]
14-
static GLOBAL: MiMalloc = MiMalloc;
13+
// #[global_allocator]
14+
// static GLOBAL: MiMalloc = MiMalloc;
1515

1616
mod multithreading;
1717

0 commit comments

Comments
 (0)