Skip to content

Commit

Permalink
Merge pull request #45 from jackh726/bigtools_refactor_rebase2
Browse files Browse the repository at this point in the history
Refactor bigtools internals and API for writing
  • Loading branch information
jackh726 authored Jul 5, 2024
2 parents 3598601 + e446a6e commit f49b0c9
Show file tree
Hide file tree
Showing 29 changed files with 2,118 additions and 2,274 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion bigtools/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "bigtools"
version = "0.4.4-dev"
version = "0.5.0-dev"
authors = ["Jack Huey <[email protected]>"]
edition = "2021"
license = "MIT"
Expand Down
2 changes: 1 addition & 1 deletion bigtools/src/bbi.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ pub(crate) mod bbiread;
#[cfg(feature = "write")]
pub(crate) mod bbiwrite;
#[cfg(feature = "write")]
pub mod bedchromdata;
pub mod beddata;
#[cfg(feature = "read")]
pub(crate) mod bigbedread;
#[cfg(feature = "write")]
Expand Down
4 changes: 2 additions & 2 deletions bigtools/src/bbi/bbiread.rs
Original file line number Diff line number Diff line change
Expand Up @@ -501,8 +501,8 @@ impl GenericBBIRead<ReopenableFile> {
/// Opens a generic bbi file
pub fn open_file(path: &str) -> Result<Self, GenericBBIFileOpenError> {
let reopen = ReopenableFile {
path: path.to_string(),
file: File::open(path)?,
file: File::open(&path)?,
path: path.into(),
};
let b = GenericBBIRead::open(reopen);
if b.is_err() {
Expand Down
Loading

0 comments on commit f49b0c9

Please sign in to comment.