From 012df801cb902a4a762935aeb1b0019d9eba7f7c Mon Sep 17 00:00:00 2001 From: Adam Taranto Date: Sat, 21 Sep 2024 00:19:35 +1000 Subject: [PATCH] clean up imports --- src/lib.rs | 19 +++++++------------ 1 file changed, 7 insertions(+), 12 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 9efc6f1..e0a2181 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,28 +1,23 @@ // Standard library imports use std::collections::hash_map::IntoIter; use std::collections::{HashMap, HashSet}; +use std::fs::File; +use std::io::{BufWriter, Write}; // External crate imports use anyhow::{anyhow, Result}; use log::debug; use pyo3::exceptions::PyValueError; use pyo3::prelude::*; +use pyo3::PyResult; // use rayon::prelude::*; - -use anyhow::{anyhow, Result}; -use std::collections::HashMap; - -extern crate needletail; -use needletail::{parse_fastx_file, FastxReader, Sequence}; - -// use sourmash::sketch::nodegraph::Nodegraph; -use sourmash::_hash_murmur; +//use sourmash::_hash_murmur; use sourmash::encodings::HashFunctions; +// use sourmash::sketch::nodegraph::Nodegraph; use sourmash::signature::SeqToHashes; -use pyo3::PyResult; -use std::fs::File; -use std::io::{BufWriter, Write}; +extern crate needletail; +use needletail::{parse_fastx_file, FastxReader, Sequence}; // Set version variable const VERSION: &str = env!("CARGO_PKG_VERSION");