-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
26 changed files
with
26 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
// Copyright 2021-2023 SecureDNA Stiftung (SecureDNA Foundation) <[email protected]> | ||
// Copyright 2021-2024 SecureDNA Stiftung (SecureDNA Foundation) <[email protected]> | ||
// SPDX-License-Identifier: MIT OR Apache-2.0 | ||
|
||
use criterion::{black_box, criterion_group, criterion_main, Criterion}; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
// Copyright 2021-2023 SecureDNA Stiftung (SecureDNA Foundation) <[email protected]> | ||
// Copyright 2021-2024 SecureDNA Stiftung (SecureDNA Foundation) <[email protected]> | ||
// SPDX-License-Identifier: MIT OR Apache-2.0 | ||
|
||
use std::hint::black_box; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
// Copyright 2021-2023 SecureDNA Stiftung (SecureDNA Foundation) <[email protected]> | ||
// Copyright 2021-2024 SecureDNA Stiftung (SecureDNA Foundation) <[email protected]> | ||
// SPDX-License-Identifier: MIT OR Apache-2.0 | ||
|
||
use criterion::{black_box, criterion_group, criterion_main, BenchmarkId, Criterion, Throughput}; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# Copyright 2021-2023 SecureDNA Stiftung (SecureDNA Foundation) <[email protected]> | ||
# Copyright 2021-2024 SecureDNA Stiftung (SecureDNA Foundation) <[email protected]> | ||
# SPDX-License-Identifier: MIT OR Apache-2.0 | ||
|
||
import sys | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# Copyright 2021-2023 SecureDNA Stiftung (SecureDNA Foundation) <[email protected]> | ||
# Copyright 2021-2024 SecureDNA Stiftung (SecureDNA Foundation) <[email protected]> | ||
# SPDX-License-Identifier: MIT OR Apache-2.0 | ||
|
||
import typing as ty | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
// Copyright 2021-2023 SecureDNA Stiftung (SecureDNA Foundation) <[email protected]> | ||
// Copyright 2021-2024 SecureDNA Stiftung (SecureDNA Foundation) <[email protected]> | ||
// SPDX-License-Identifier: MIT OR Apache-2.0 | ||
|
||
//! This binary is used to generate the src/tables.dat datafile. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
// Copyright 2021-2023 SecureDNA Stiftung (SecureDNA Foundation) <[email protected]> | ||
// Copyright 2021-2024 SecureDNA Stiftung (SecureDNA Foundation) <[email protected]> | ||
// SPDX-License-Identifier: MIT OR Apache-2.0 | ||
|
||
use std::cmp::Ordering; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
// Copyright 2021-2023 SecureDNA Stiftung (SecureDNA Foundation) <[email protected]> | ||
// Copyright 2021-2024 SecureDNA Stiftung (SecureDNA Foundation) <[email protected]> | ||
// SPDX-License-Identifier: MIT OR Apache-2.0 | ||
|
||
use std::array::TryFromSliceError; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
// Copyright 2021-2023 SecureDNA Stiftung (SecureDNA Foundation) <[email protected]> | ||
// Copyright 2021-2024 SecureDNA Stiftung (SecureDNA Foundation) <[email protected]> | ||
// SPDX-License-Identifier: MIT OR Apache-2.0 | ||
|
||
use std::sync::Arc; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
// Copyright 2021-2023 SecureDNA Stiftung (SecureDNA Foundation) <[email protected]> | ||
// Copyright 2021-2024 SecureDNA Stiftung (SecureDNA Foundation) <[email protected]> | ||
// SPDX-License-Identifier: MIT OR Apache-2.0 | ||
|
||
/// A trait used by the FASTA parser: `T: Extendable` is the type of the | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
// Copyright 2021-2023 SecureDNA Stiftung (SecureDNA Foundation) <[email protected]> | ||
// Copyright 2021-2024 SecureDNA Stiftung (SecureDNA Foundation) <[email protected]> | ||
// SPDX-License-Identifier: MIT OR Apache-2.0 | ||
|
||
//! This module is for reading and writing FASTA format files | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
// Copyright 2021-2023 SecureDNA Stiftung (SecureDNA Foundation) <[email protected]> | ||
// Copyright 2021-2024 SecureDNA Stiftung (SecureDNA Foundation) <[email protected]> | ||
// SPDX-License-Identifier: MIT OR Apache-2.0 | ||
|
||
use smallvec::SmallVec; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
#![allow(non_snake_case)] | ||
// Copyright 2021-2023 SecureDNA Stiftung (SecureDNA Foundation) <[email protected]> | ||
// Copyright 2021-2024 SecureDNA Stiftung (SecureDNA Foundation) <[email protected]> | ||
// SPDX-License-Identifier: MIT OR Apache-2.0 | ||
|
||
extern crate core; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
// Copyright 2021-2023 SecureDNA Stiftung (SecureDNA Foundation) <[email protected]> | ||
// Copyright 2021-2024 SecureDNA Stiftung (SecureDNA Foundation) <[email protected]> | ||
// SPDX-License-Identifier: MIT OR Apache-2.0 | ||
|
||
use std::{ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
#![allow(clippy::borrow_deref_ref)] // TODO: broken clippy lint? | ||
// Copyright 2021-2023 SecureDNA Stiftung (SecureDNA Foundation) <[email protected]> | ||
// Copyright 2021-2024 SecureDNA Stiftung (SecureDNA Foundation) <[email protected]> | ||
// SPDX-License-Identifier: MIT OR Apache-2.0 | ||
|
||
use pyo3::{exceptions::PyValueError, prelude::*, types::PyBytes}; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
// Copyright 2021-2023 SecureDNA Stiftung (SecureDNA Foundation) <[email protected]> | ||
// Copyright 2021-2024 SecureDNA Stiftung (SecureDNA Foundation) <[email protected]> | ||
// SPDX-License-Identifier: MIT OR Apache-2.0 | ||
|
||
use quickcheck::{Arbitrary, Gen}; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
// Copyright 2021-2023 SecureDNA Stiftung (SecureDNA Foundation) <[email protected]> | ||
// Copyright 2021-2024 SecureDNA Stiftung (SecureDNA Foundation) <[email protected]> | ||
// SPDX-License-Identifier: MIT OR Apache-2.0 | ||
|
||
use core::fmt; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
// Copyright 2021-2023 SecureDNA Stiftung (SecureDNA Foundation) <[email protected]> | ||
// Copyright 2021-2024 SecureDNA Stiftung (SecureDNA Foundation) <[email protected]> | ||
// SPDX-License-Identifier: MIT OR Apache-2.0 | ||
|
||
use std::{ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
// Copyright 2021-2023 SecureDNA Stiftung (SecureDNA Foundation) <[email protected]> | ||
// Copyright 2021-2024 SecureDNA Stiftung (SecureDNA Foundation) <[email protected]> | ||
// SPDX-License-Identifier: MIT OR Apache-2.0 | ||
|
||
use crate::{ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
# Copyright 2021-2023 SecureDNA Stiftung (SecureDNA Foundation) <[email protected]> | ||
# Copyright 2021-2024 SecureDNA Stiftung (SecureDNA Foundation) <[email protected]> | ||
# SPDX-License-Identifier: MIT OR Apache-2.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# Copyright 2021-2023 SecureDNA Stiftung (SecureDNA Foundation) <[email protected]> | ||
# Copyright 2021-2024 SecureDNA Stiftung (SecureDNA Foundation) <[email protected]> | ||
# SPDX-License-Identifier: MIT OR Apache-2.0 | ||
|
||
import os | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
// Copyright 2021-2023 SecureDNA Stiftung (SecureDNA Foundation) <[email protected]> | ||
// Copyright 2021-2024 SecureDNA Stiftung (SecureDNA Foundation) <[email protected]> | ||
// SPDX-License-Identifier: MIT OR Apache-2.0 | ||
|
||
use quickdna::{Nucleotide, NucleotideAmbiguous, NucleotideIter, NucleotideLike, TranslationTable}; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# Copyright 2021-2023 SecureDNA Stiftung (SecureDNA Foundation) <[email protected]> | ||
# Copyright 2021-2024 SecureDNA Stiftung (SecureDNA Foundation) <[email protected]> | ||
# SPDX-License-Identifier: MIT OR Apache-2.0 | ||
|
||
""" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# Copyright 2021-2023 SecureDNA Stiftung (SecureDNA Foundation) <[email protected]> | ||
# Copyright 2021-2024 SecureDNA Stiftung (SecureDNA Foundation) <[email protected]> | ||
# SPDX-License-Identifier: MIT OR Apache-2.0 | ||
|
||
""" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# Copyright 2021-2023 SecureDNA Stiftung (SecureDNA Foundation) <[email protected]> | ||
# Copyright 2021-2024 SecureDNA Stiftung (SecureDNA Foundation) <[email protected]> | ||
# SPDX-License-Identifier: MIT OR Apache-2.0 | ||
|
||
import pytest | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# Copyright 2021-2023 SecureDNA Stiftung (SecureDNA Foundation) <[email protected]> | ||
# Copyright 2021-2024 SecureDNA Stiftung (SecureDNA Foundation) <[email protected]> | ||
# SPDX-License-Identifier: MIT OR Apache-2.0 | ||
|
||
import typing as ty | ||
|