Skip to content

Commit

Permalink
fixed warning
Browse files Browse the repository at this point in the history
  • Loading branch information
KeKsBoTer committed Apr 23, 2024
1 parent 22679c9 commit 88a8770
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -521,7 +521,6 @@ pub async fn viewer_wasm(canvas_id:String) {
spinner.set_attribute("style", "display:flex;")
.unwrap();
let data = reader.read().await;
let is_npz = data.starts_with(b"\x50\x4B\x03\x04");
let reader_v = Cursor::new(data);
let volumes = Volume::load_numpy(reader_v,true).expect("Failed to load volumes");

Expand Down

0 comments on commit 88a8770

Please sign in to comment.