Skip to content

Commit

Permalink
FIX: metadatareader new
Browse files Browse the repository at this point in the history
  • Loading branch information
sander-willems-bruker committed Dec 4, 2024
1 parent ec97866 commit 3f49454
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/io/readers/metadata_reader.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ pub struct MetadataReader;

impl MetadataReader {
pub fn new(
path: &impl TimsTofPathLike,
path: impl TimsTofPathLike,
) -> Result<Metadata, MetadataReaderError> {
let tdf_sql_reader = SqlReader::open(path)?;
let sql_metadata: HashMap<String, String> =
Expand Down Expand Up @@ -124,10 +124,6 @@ fn parse_value<T: FromStr>(

#[derive(Debug, thiserror::Error)]
pub enum MetadataReaderError {
// #[error("{0}")]
// TdfBlobReaderError(#[from] TdfBlobReaderError),
// #[error("{0}")]
// FileNotFound(String),
#[error("{0}")]
SqlReaderError(#[from] SqlReaderError),
#[error("Key not found: {0}")]
Expand Down

0 comments on commit 3f49454

Please sign in to comment.