-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #16 from anergictcell/release/0.2.0
Release/0.2.0 - Add GeneticCode to modify the translation table based on the applied genetic code. This change impacts some public functions of the QC-check module. - Allow generic `Read + Seek` objects for FastaReader. This enables reading directly from S3 or other remote sources. - Allow `FastaWriter` to write to different files (only one at a time). This means you don't have to initiate a new `FastaWriter` for every output file, but can reuse an existing instance and simply change the output writer.
- Loading branch information
Showing
20 changed files
with
1,206 additions
and
269 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
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
This file was deleted.
Oops, something went wrong.
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,6 +1,6 @@ | ||
[package] | ||
name = "atglib" | ||
version = "0.1.4" | ||
version = "0.2.0" | ||
edition = "2021" | ||
authors = ["Jonas Marcello <[email protected]>"] | ||
description = "A library to handle transcripts for genomics and transcriptomics" | ||
|
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 |
---|---|---|
@@ -0,0 +1,32 @@ | ||
set positional-arguments | ||
|
||
new version: | ||
#!/usr/bin/env sh | ||
if git rev-parse --quiet --verify release/{{version}} > /dev/null; then | ||
echo "Release branch exists already" | ||
else | ||
echo "Creating release branch release/{{version}}" | ||
git checkout main && \ | ||
git pull && \ | ||
git checkout -b release/{{version}} && \ | ||
sed -i .bck "s/^version =.*$/version = \"{{version}}\"/" ./Cargo.toml && \ | ||
cargo check && \ | ||
git commit -am "Prepare release branch {{version}}" && \ | ||
git push -u origin release/{{version}} | ||
fi | ||
@check version: | ||
git checkout release/{{version}} && git pull | ||
echo "Running linter and unittests" | ||
cargo clippy && cargo fmt && cargo test -q && cargo doc | ||
|
||
@release version: | ||
git tag {{version}} | ||
git push --tags | ||
cargo publish | ||
|
||
test: | ||
#!/usr/bin/env zsh | ||
echo -ne "Checking formatting and doc generation" | ||
(cargo clippy && cargo fmt --check && cargo test -q && cargo doc && \ | ||
echo " \e[32m\e[1mOK\e[0m") || echo "\e[31m\e[1mERROR\e[0m" |
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
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
Oops, something went wrong.