Skip to content

Commit

Permalink
Merge pull request #7 from stijndcl/fix/felix-suggestions
Browse files Browse the repository at this point in the history
Apply suggestions by Felix and Rien
  • Loading branch information
stijndcl authored Nov 8, 2023
2 parents 9731896 + 7019e8c commit 05118db
Show file tree
Hide file tree
Showing 23 changed files with 527 additions and 415 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
id: cache
with:
shared-key: ${{ env.CACHE_KEY }}
- run: cd scripts/helper_scripts/new-parsers && cargo fetch
- run: cd scripts/helper_scripts/unipept-database-rs && cargo fetch
if: ${{ !steps.cache.outputs.cache-hit }}

build:
Expand All @@ -32,7 +32,7 @@ jobs:
- uses: Swatinem/rust-cache@v2
with:
shared-key: ${{ env.CACHE_KEY }}
- run: cd scripts/helper_scripts/new-parsers && cargo build --release
- run: cd scripts/helper_scripts/unipept-database-rs && cargo build --release

format:
name: Check formatting
Expand All @@ -46,7 +46,7 @@ jobs:
- uses: Swatinem/rust-cache@v2
with:
shared-key: ${{ env.CACHE_KEY }}
- run: cd scripts/helper_scripts/new-parsers && cargo fmt --all --check
- run: cd scripts/helper_scripts/unipept-database-rs && cargo fmt --all --check

lint:
name: Linting
Expand All @@ -66,4 +66,5 @@ jobs:
reporter: 'github-pr-check'
fail_on_error: true
github_token: ${{ secrets.GITHUB_TOKEN }}
workdir: scripts/helper_scripts/new-parsers
workdir: scripts/helper_scripts/unipept-database-rs

22 changes: 22 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
MIT License

Copyright (c) 2023 Universiteit Gent

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

10 changes: 0 additions & 10 deletions scripts/helper_scripts/new-parsers/Cargo.toml

This file was deleted.

135 changes: 0 additions & 135 deletions scripts/helper_scripts/new-parsers/src/bin/functional-analysis.rs

This file was deleted.

This file was deleted.

This file was deleted.

32 changes: 0 additions & 32 deletions scripts/helper_scripts/new-parsers/src/utils/files.rs

This file was deleted.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

19 changes: 19 additions & 0 deletions scripts/helper_scripts/unipept-database-rs/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
[package]
name = "unipept_database"
version = "0.1.0"
edition = "2021"
authors = ["[email protected]", "Stijn De Clercq", "Bart Mesuere", "Pieter Verschaffelt", "Tibo Vande Moortele"]
categories = ["command-line-utilities", "parser-implementations", "science"]
keywords = ["uniprot", "unipept", "metaproteomics"]
readme = "README.md"
repository = "https://github.com/unipept/unipept-database"
homepage = "https://unipept.ugent.be/"
license = "MIT"

[dependencies]
anyhow = "1.0.75"
bit-vec = "0.6.3"
chrono = "0.4.31"
clap = { version = "4.4.6", features = ["derive"] }
smartstring = { version = "1.0" }
uniprot = "0.7.0"
Loading

0 comments on commit 05118db

Please sign in to comment.