Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/improve speed and limit memory (#11) #100

Open
wants to merge 45 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 12 commits
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
2f879e5
Feature/improve speed and limit memory (#11)
sambenfredj Apr 12, 2023
bf0c2ce
:lipstick: linting (#12)
gessulat Apr 17, 2023
3ad792c
Fix bugs (#17)
gessulat Apr 20, 2023
29f5549
fix test model: remove subset_max_train from percolator model (#18)
sambenfredj May 5, 2023
ae7f880
Fix test brew: (#20)
sambenfredj May 9, 2023
4e7235b
fix test datasets: (#19)
sambenfredj May 11, 2023
3e7dda9
Fix test confidence (#22)
sambenfredj May 11, 2023
c5d158a
Fix cli tests: (#28)
sambenfredj May 15, 2023
1d2fdf0
Fix system tests: (#29)
sambenfredj May 16, 2023
6e08b70
Fix parser pin test: (#30)
sambenfredj May 17, 2023
d16cedc
Add tests: (#31)
sambenfredj May 22, 2023
40f8394
Fix writer tests: (#32)
sambenfredj May 22, 2023
531d4ae
fix error no psms found during training : if no psms passed the fdr v…
sambenfredj May 31, 2023
84c427b
Introduce new executable and bug fixes
sambenfredj Aug 4, 2023
b85d176
✨ force ci re-run
gessulat Feb 16, 2024
58e8481
Merge branch 'develop' into 'main'
Feb 22, 2024
74f91f1
💄 lint mokapot
gessulat Feb 22, 2024
2985a7f
💄 lints tests
gessulat Feb 22, 2024
12ebe26
💄 fixes format with ruff
gessulat Feb 22, 2024
49608e1
💄 fixes format with ruff
gessulat Feb 22, 2024
6ccc88e
Merge branch 'main' of gitlab:msaid/inferys/mokapot into main
gessulat Feb 22, 2024
0b4fdc5
💄 make ruff and black happy together
gessulat Feb 22, 2024
f595804
Feature/improve speed and limit memory (#11)
sambenfredj Apr 12, 2023
46fbf6b
:lipstick: linting (#12)
gessulat Apr 17, 2023
ee95fbd
Fix bugs (#17)
gessulat Apr 20, 2023
f3d50c8
fix test model: remove subset_max_train from percolator model (#18)
sambenfredj May 5, 2023
4293410
Fix test brew: (#20)
sambenfredj May 9, 2023
623b7d8
fix test datasets: (#19)
sambenfredj May 11, 2023
8f417dd
Fix test confidence (#22)
sambenfredj May 11, 2023
2e1723e
Fix cli tests: (#28)
sambenfredj May 15, 2023
6355834
Fix system tests: (#29)
sambenfredj May 16, 2023
296fb73
Fix parser pin test: (#30)
sambenfredj May 17, 2023
096b07f
Add tests: (#31)
sambenfredj May 22, 2023
d497fcc
Fix writer tests: (#32)
sambenfredj May 22, 2023
d241adb
fix error no psms found during training : if no psms passed the fdr v…
sambenfredj May 31, 2023
41ed445
Introduce new executable and bug fixes
sambenfredj Aug 4, 2023
ac43547
✨ force ci re-run
gessulat Feb 16, 2024
4a9872f
💄 lint mokapot
gessulat Feb 22, 2024
346a0c0
💄 lints tests
gessulat Feb 22, 2024
f543166
💄 fixes format with ruff
gessulat Feb 22, 2024
0742dc2
💄 fixes format with ruff
gessulat Feb 22, 2024
a2602df
💄 make ruff and black happy together
gessulat Feb 22, 2024
f12a43d
✨ removed deprecated error ignore
gessulat Feb 27, 2024
0fd515b
Merge branch 'main' into 'feature/sync'
Feb 27, 2024
6726dea
Merge branch 'feature/sync' into 'main'
Feb 27, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 43 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
image: python:3.10.5


variables:
PIP_CACHE_DIR: "${CI_PROJECT_DIR}/.cache/pip"

stages:
- publish

cache:
key: "${CI_COMMIT_REF_SLUG}"
paths:
- .cache/pip
- .venv

.with_poetry:
before_script:
- pip install poetry
- poetry --version
- poetry config virtualenvs.in-project true
- poetry install

license_dump:
extends: .with_poetry
stage: publish
script:
- poetry run pip-licenses --from=mixed --order=license --with-system --format=csv > licenses.csv
artifacts:
paths:
- licenses.csv
expire_in: 1 week

publish:
extends: .with_poetry
stage: publish
rules:
- if: '$CI_COMMIT_TAG != null'
script:
- poetry config repositories.gitlab https://gitlab.com/api/v4/projects/${CI_PROJECT_ID}/packages/pypi
- poetry config http-basic.gitlab gitlab-ci-token ${CI_JOB_TOKEN}
- poetry build
- poetry publish -r gitlab

4 changes: 2 additions & 2 deletions mokapot/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@
except DistributionNotFound:
pass

from .dataset import LinearPsmDataset
from .dataset import LinearPsmDataset, OnDiskPsmDataset, read_file
from .model import Model, PercolatorModel, save_model, load_model
from .brew import brew
from .parsers.pin import read_pin, read_percolator
from .parsers.pepxml import read_pepxml
from .parsers.fasta import read_fasta, make_decoys, digest
from .writers import to_flashlfq, to_txt
from .confidence import LinearConfidence, plot_qvalues
from .confidence import LinearConfidence, plot_qvalues, assign_confidence
Loading
Loading