Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rustfmt
Browse files Browse the repository at this point in the history
bluegenes committed Dec 24, 2024
1 parent f0045bb commit a323229
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/directsketch.rs
Original file line number Diff line number Diff line change
@@ -278,7 +278,7 @@ async fn dl_sketch_assembly_accession(
download_failures.push(failed_download_protein);
}

return Ok((empty_coll, download_failures, checksum_failures));
return Ok((empty_coll, download_failures, checksum_failures));
}
};
let md5sum_url = GenBankFileType::Checksum.url(&base_url, &full_name);
@@ -545,8 +545,8 @@ async fn dl_sketch_url(
url: Some(url),
};
download_failures.push(failed_download);
// Clear signatures and return immediately on failure
return Ok((empty_coll, download_failures, checksum_failures));
// Clear signatures and return immediately on failure
return Ok((empty_coll, download_failures, checksum_failures));
}
}
}
@@ -1340,7 +1340,7 @@ pub async fn urlsketch(
sigs.select(&protein_multiselection)?;
}
if sigs.is_empty() && !download_only {
continue
continue;
}

let semaphore_clone = Arc::clone(&semaphore);

0 comments on commit a323229

Please sign in to comment.