From e8bf50ce03f236ee5def7fedfbd03da24c46e4af Mon Sep 17 00:00:00 2001 From: Nathan LeRoy Date: Tue, 3 Dec 2024 17:04:49 -0500 Subject: [PATCH 1/2] remove the igd bindings --- bindings/python/src/igd/mod.rs | 18 ------------------ bindings/python/src/lib.rs | 1 - 2 files changed, 19 deletions(-) delete mode 100644 bindings/python/src/igd/mod.rs diff --git a/bindings/python/src/igd/mod.rs b/bindings/python/src/igd/mod.rs deleted file mode 100644 index 800433ee..00000000 --- a/bindings/python/src/igd/mod.rs +++ /dev/null @@ -1,18 +0,0 @@ -use pyo3::prelude::*; - -use gtars::igd::search::igd_search; - -#[pyclass(name="IGD")] -pub struct IGD; - -#[pymethods] -impl IGD { - - #[classmethod] - pub fn search(database_path: String, query_file_path: String) { - - igd_search(&database_path, &query_file_path).unwrap(); - - - } -} \ No newline at end of file diff --git a/bindings/python/src/lib.rs b/bindings/python/src/lib.rs index 57716380..207ab55b 100644 --- a/bindings/python/src/lib.rs +++ b/bindings/python/src/lib.rs @@ -5,7 +5,6 @@ mod ailist; mod models; mod tokenizers; mod utils; -mod igd; pub const VERSION: &str = env!("CARGO_PKG_VERSION"); From 22904c7f946be79d6ae13197756151b77a7e88c7 Mon Sep 17 00:00:00 2001 From: Nathan LeRoy Date: Tue, 3 Dec 2024 17:06:06 -0500 Subject: [PATCH 2/2] bump version + changelog --- bindings/python/Cargo.toml | 2 +- gtars/Cargo.toml | 2 +- gtars/docs/changelog.md | 3 +++ 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/bindings/python/Cargo.toml b/bindings/python/Cargo.toml index d4868d09..5c9fcc55 100644 --- a/bindings/python/Cargo.toml +++ b/bindings/python/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "gtars-py" -version = "0.1.0" +version = "0.1.1" edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/gtars/Cargo.toml b/gtars/Cargo.toml index 7265e8ad..faca48fc 100644 --- a/gtars/Cargo.toml +++ b/gtars/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "gtars" -version = "0.1.0" +version = "0.1.1" edition = "2021" description = "Performance-critical tools to manipulate, analyze, and process genomic interval data. Primarily focused on building tools for geniml - our genomic machine learning python package." license = "MIT" diff --git a/gtars/docs/changelog.md b/gtars/docs/changelog.md index 964e2c29..cd94a894 100644 --- a/gtars/docs/changelog.md +++ b/gtars/docs/changelog.md @@ -4,6 +4,9 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [0.1.1] +- hot fix for broken python bindings; remove IGD from the python bindings for now + ## [0.1.0] - Rust implementation of `uniwig` that expands on the C++ version - Uniwig now accepts a single sorted `.bed` file, `.narrowPeak` file, or `.bam` file.