-
Notifications
You must be signed in to change notification settings - Fork 2
IM2Deep 2.0 API #18
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
Merged
Merged
IM2Deep 2.0 API #18
Changes from 33 commits
Commits
Show all changes
54 commits
Select commit
Hold shift + click to select a range
1cf1ee0
General linting and typing notation updates
RalfG 2c5a047
Remove numpy version pin
RalfG 07e227e
Merge pull request #17 from CompOmics/fix/linting-and-numpy-pin
rodvrees 2c80cc4
Bump version
rodvrees 1f206d6
Add core module, outline core functionality
rodvrees 9735019
model_ops and calibration
rodvrees 52a6b0e
Calibration refactoring done
rodvrees 7c12fc5
CLI functionality start
rodvrees e2f69d0
Implement prediction logic
rodvrees 07428d7
New model
rodvrees 3ff0946
get_default_reference in Calibration class
rodvrees 436fb18
Do not use PSMList during calibration
rodvrees 8943fb1
Fix calibration logic
rodvrees 1e2a027
Fix calibration for multiconformer prediction
rodvrees 8206671
delete outdated modules and model files
rodvrees dca3582
add tests + adapt code where needed
rodvrees b9e1fb4
Add test workflow
rodvrees e99a871
update dependencies
rodvrees 49bc58f
pytorch-lightning -> lightning
rodvrees 35ccac0
update pyproject and README.md
rodvrees 1a4c5ce
Remove non-optional optional dependencies
rodvrees 52e1999
Add profiling + use dataframes for calibration
rodvrees 8902973
Fix tests
rodvrees 35f4451
Fix error if CCS is directly in df
rodvrees 10b7c32
Fix tests
rodvrees e3c0a18
Fix if CCS is directly in df
rodvrees 074cb9c
Further fixes
rodvrees e3c39eb
Fix general shift allocation
rodvrees 40ca412
throw out im2deeptrainer dependency
rodvrees ddd62ef
update pyproject.toml
rodvrees be33db8
wandb optional
rodvrees 681998e
update version
rodvrees 112c5c3
update __init__.,py
rodvrees 74ff2cb
Ruff Ruff
rodvrees ed966f7
Update CI workflows:
RalfG 84e63c9
Merge branch 'new-api' of https://github.com/CompOmics/IM2Deep into n…
RalfG 0e4ab37
Split up architecture module into subpackage
RalfG 874fc9f
Consolidate pytest config to pyproject.toml; fix test workflow; move …
RalfG e0efbc9
Make exceptions public
RalfG f6e349b
Fix linting and formatting issues
RalfG d7a016a
Split utils module into public utils and private _io_helpers; fix rem…
RalfG c9fdc43
Change version to alpha.1
RalfG 888db74
Add type checking to CI
RalfG da16941
Move type checking to separate job with installed package
RalfG 8157bdd
Use uv build system
RalfG 1626bec
Apply suggestions from code review
RalfG 6e60ff2
Fix remaining issues from code review
RalfG 5be8f47
Add module config for uv build backend
RalfG dd6b1cc
Fix linting
RalfG 50e39cf
Update dev dependencies
RalfG 9103fa5
Fix remaining typing issues
RalfG 140d3cf
Fix remaining formatting issues
RalfG 9c4c354
Fix remaining test issues
RalfG 81ff852
Fix formatting
RalfG File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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,35 @@ | ||
| name: Python package test | ||
|
|
||
| on: | ||
| push: | ||
| branches: | ||
| - master | ||
| pull_request: | ||
| workflow_dispatch: | ||
|
|
||
| jobs: | ||
| test: | ||
| strategy: | ||
| matrix: | ||
| system: [["3.11", "ubuntu-latest"], ["3.12", "macos-latest"], ["3.12", "ubuntu-latest"]] | ||
|
RalfG marked this conversation as resolved.
Outdated
|
||
| runs-on: ${{ matrix.system[1] }} | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| - name: Set up Python ${{ matrix.system[0] }} | ||
| uses: actions/setup-python@v5 | ||
| with: | ||
| python-version: ${{ matrix.system[0] }} | ||
| - name: Install dependencies | ||
| run: | | ||
| python -m pip install --upgrade pip | ||
| pip install flake8 pytest | ||
|
RalfG marked this conversation as resolved.
Outdated
|
||
| pip install --editable .[test] | ||
| - name: Lint with flake8 | ||
| run: | | ||
| # stop the build if there are Python syntax errors or undefined names | ||
| flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics | ||
| # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide | ||
| flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics | ||
| - name: Test with pytest | ||
| run: | | ||
| pytest | ||
This file contains hidden or 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 |
|---|---|---|
|
|
@@ -111,4 +111,7 @@ IM2Deep.code-workspace | |
|
|
||
| # Testing | ||
| test_data/ | ||
| test.ipynb | ||
| test.ipynb | ||
|
|
||
| # Profiles | ||
| profiles/ | ||
This file contains hidden or 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 hidden or 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.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.