Commit 47220a6
Pydantic 2 (#3)
* change install pin
* normalise imports
* finalise imports
* try bulk replace imports
* Revert "finalise imports"
This reverts commit baad442.
* Revert "Revert "finalise imports""
This reverts commit 840abd5.
* Revert "try bulk replace imports"
This reverts commit 1cb8a82.
* bulk replace again
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Add a shortcut for not training if all epochs have already been trained for.
* Add weight decay handling in Trainer.
* Fix weight_decay math.
* Use torch.no_grad instead of model.eval.
* Add model.eval() and model.train() calls.
* Add Trainer weight decay loss.
* Switch default batch size to be -1.
* Add device Field for DatasetConfig to automatically move data to given device.
* Add option for batch gradient normalization.
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Fix comment.
* Add forgotten optimizer step.
* Remove print statement.
* bump CI
* Add classes for L1Loss and SmoothL1Loss.
* Fix loss calculation for multiple prediction/loss values.
* Add LossFunctionConfig options for new loss classes.
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Add CLI arg for LayerNorm option.
* Fix typo.
* Handle missing column.
* Some plotting improvements.
* Add convenience methods for loading in and formatting groups of TrainingPredictionTrackers.
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Add multiprocessing capability to TPT loading functions.
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Add handling for no extract_epochs passed.
* Add a shortcut for not training if all epochs have already been trained for.
* Add weight decay handling in Trainer.
* Fix weight_decay math.
* Use torch.no_grad instead of model.eval.
* Add model.eval() and model.train() calls.
* Add Trainer weight decay loss.
* Switch default batch size to be -1.
* Add device Field for DatasetConfig to automatically move data to given device.
* Add option for batch gradient normalization.
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Fix comment.
* Add forgotten optimizer step.
* Remove print statement.
* Add classes for L1Loss and SmoothL1Loss.
* Fix loss calculation for multiple prediction/loss values.
* Add LossFunctionConfig options for new loss classes.
* Add CLI arg for LayerNorm option.
* Fix typo.
* Handle missing column.
* Some plotting improvements.
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Add convenience methods for loading in and formatting groups of TrainingPredictionTrackers.
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Add multiprocessing capability to TPT loading functions.
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Add handling for no extract_epochs passed.
* Fix minor errors.
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Update asapdiscovery-ubuntu-latest.yml
* Update asapdiscovery-macOS-latest.yml
* Update asapdiscovery-macOS-12.yml
* Separate environment files (#9)
* add initial ubuntu and mac latest environments and update data.yaml github workflow to point to it
* add a python script to find imports in files
* add plip dependency
* temporarily fix failing openfe warning catching
* update detect_imports script and add modeling yaml files
* update data and modeling workflows
* update docking CI and add docking yaml
* add dataviz to docking dependencies
* add simulation yamls
* add simulation yamls
* add modeling to simulation dependencies
* add modeling to simulation dependencies
* add macos to data workflow
* update workflows
* remove unnecessary packages from modeling workflow
* add simulation workflow package
* update simulation deps
* add ml env and update env names
* add torchdata to docking deps
* add openmmtools to deps
* add ml to simulation deps
* remove multiprocessing from ML deps
* remove multiprocessing from simulation deps
* update ml envs
* make mtenn simulation dep
* add modeling to ml deps
* add semver to docking deps
* move cli_args to have lazy imports and add spectrum env files
* also run on the pydantic_2 branch
* bump ci
* test running with multiple env files
* move openeye testing
* use different micromamba command
* fix missing asapdiscovery-modeling install
* Update ML workflow file to include MacOS and latest micromamba version.
* add workflows
* Rename macOS conda-envs directory.
* add workflows
* Environment file for cli ci ubuntu
* Environment file for cli ci macos
* workflow file for CLI CI
* add workflows
* fix workflows for simulation and spectrum
* Remove MacOS from ML workflow.
* add workflows
* install environments for other packages
* install environments for other packages
* adding data missing dependencies
* environment file for alchemy ubuntu-latest
* environment file for alchemy macos-latest
* workflow file update for alchemy
* macos uncapitalized in workflows
* Add pydantic-settings.
* add dataviz env files
* Add mamba installing dependencies in ML workflow file.
---------
Co-authored-by: Mike Henry <[email protected]>
Co-authored-by: kaminow <[email protected]>
Co-authored-by: Iván Pulido <[email protected]>
Co-authored-by: Maria Castellanos <[email protected]>
Co-authored-by: kaminow <[email protected]>
* make a real workflows env file
* remove workflow deps yaml
* don't run workflows CI on macos
* use bioconda for logomaker
* fix dataviz workflow
* fix dataviz workflow
* update dataviz workflow install
* rename dataviz env
* fix dataviz env
* remove modeling as a dep for data
* move trim_small_chains to backend
* move trim_small_chains to backend
* adapt to str enum update
* fix .schema import
* fix .schema import
* remove macos-ci workflow
* fix from .backend import
* move prepped structure and docking stuff to modeling and docking envs
* move plip to dataviz
* fix PreppedComplex use in conftests
* most postera api to workflows
* most postera api to workflows
* fix imports
* fix imports
* test fintscore in dataviz
* remove other subpackages for data ci workflow
* fix prep tests
* fix prep tests
* fix imports
* fix imports
* fix imports
* fix imports
* fix imports
* remove cudatoolkit dep from simulation.yaml (#39)
* switch to using the new buckets (#41)
* switch to using the new buckets
* missed a few urls
---------
Co-authored-by: Alexander Matthew Payne <[email protected]>
* Spectrum struct changes (#10)
* add rmsd-coloring
* Fix chain visualization
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Fix pre-commit-ci
* Add the option to align struct directory and pdb file
* Needed changes on seq_alignment
* Implement fitness-alignment to align wrt fasta
* Add more options to struct-alignment
* changes to fitness-alignment
* Additions to align_seq_match
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* precommit ci fixes
* fix seq-align test
* struct-alignment tests
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Add structure alignment tests
* Fix struct-alignment cfold test
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* bump CI
* bump CI
* Added a check for blast.csv file
* Bump CI
* TODO to fix test here with "hidden" error
* Checking subprocess return code, print error
* added mafft dependancy
* add mafft to ubuntu yaml
* remove macOS skips from tests
---------
Co-authored-by: Castellanos Morales <[email protected]>
Co-authored-by: Castellanos Morales <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Maria Castellanos <[email protected]>
Co-authored-by: hmacdope <[email protected]>
Co-authored-by: Iván Pulido <[email protected]>
* Dropping bespokefit in codebase (#22)
* Dropping bespokefit in codebase
* using pydantic.v1 instead
* trying to fix CI issues by pinning to torchdata 0.8.0 for compatibility with dgl 2.3
* Fixing env path for alchemy CI
* fixing package name for alchemiscale
* fixing package name for alchemiscale on macos
* pinning openfe versions
* Bump CI
* pinning openfe versions for linux
* pinning compatibility to minor versions
* dropping python pins
* dropping python pins for every package
---------
Co-authored-by: Mike Henry <[email protected]>
Co-authored-by: chrisiacovella <[email protected]>
* update cli-ci (#48)
* update cli-ci
* change order of OE license checks
* add simulation to cli deps
* add dataviz and spectrum to deps
* fixing pydantic issues in alchemy (#52)
* FIXING ISSUES with pydantic models to handle ScopedKey (including serialization); fixed issues with passing json files to openfe
---------
Co-authored-by: Alexander Matthew Payne <[email protected]>
* separate docking scorers into separate files (#57)
* separate scorers into separate files to make it possible to import one without depending on the others
* fix broken imports
* xfail ml scorer tests
* Lazy ml imports workflows (#60)
* Lazy imports for ML scorer in workflows.
* Adding warning message. Experimental ML scorer.
* Moving warnings before imports. Since imports are expected to fail.
* XFailing ML workflow tests separately for now
* Correcting the multiple parameters
* Changing default for ml_score option
* Moving second ML import as lazy import
* Missed one import in ligand transfer docking.
* Just testing new default behavior. No ML score.
* set ml_score cli default to false
* add try except to ml cli
* remove ml score from docking test input
* make ml score default off in all docking workflows
* update asapdiscovery.cli.cli to comment out ml cli
---------
Co-authored-by: Alexander Matthew Payne <[email protected]>
* xskip ML testing in CLI package (#61)
* xskip ml in cli
* changed to skip in parameterize
* Add scoring scripts to spectrum (#55)
* Add score files to spectrum
* fix package error
* update data imports
* Adding tests for scoring
* Add vina requirements
* Fix vina test to remove bad requirements
* Add minimization test
* calculate_rmsd-docs
* Move spectrum cli to workflows
* Address comments
* Apply suggestions from code review
Co-authored-by: Iván Pulido <[email protected]>
* delete hcc channel
* Apply suggestions from code review
Co-authored-by: Iván Pulido <[email protected]>
* Comments on score.py
* Update asapdiscovery-spectrum/asapdiscovery/spectrum/score.py
Co-authored-by: Iván Pulido <[email protected]>
* Improve logging
* Last requested changes
---------
Co-authored-by: Maria Castellanos <[email protected]>
Co-authored-by: Iván Pulido <[email protected]>
---------
Co-authored-by: hmacdope <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: kaminow <[email protected]>
Co-authored-by: kaminow <[email protected]>
Co-authored-by: Alexander Matthew Payne <[email protected]>
Co-authored-by: kaminow <[email protected]>
Co-authored-by: Iván Pulido <[email protected]>
Co-authored-by: Maria Castellanos <[email protected]>
Co-authored-by: Alex <[email protected]>
Co-authored-by: Maria Castellanos <[email protected]>
Co-authored-by: Castellanos Morales <[email protected]>
Co-authored-by: Castellanos Morales <[email protected]>
Co-authored-by: chrisiacovella <[email protected]>
Co-authored-by: Alexander Matthew Payne <[email protected]>1 parent 376ada8 commit 47220a6
File tree
166 files changed
+6781
-3153
lines changed- .github/workflows
- asapdiscovery-alchemy/asapdiscovery/alchemy
- cli
- schema
- tests
- asapdiscovery-cli/asapdiscovery/cli
- tests
- asapdiscovery-dataviz/asapdiscovery/dataviz
- tests
- asapdiscovery-data/asapdiscovery/data
- backend
- cli
- operators
- state_expanders
- readers
- schema
- services
- fragalysis
- postera
- testing
- tests
- util
- asapdiscovery-docking/asapdiscovery/docking
- schema
- selectors
- tests
- asapdiscovery-ml/asapdiscovery/ml
- tests
- asapdiscovery-modeling/asapdiscovery/modeling
- tests
- asapdiscovery-simulation/asapdiscovery/simulation
- asapdiscovery-spectrum
- asapdiscovery/spectrum
- tests
- asapdiscovery-workflows
- asapdiscovery/workflows
- docking_workflows
- postera
- prep_workflows
- spectrum_workflows
- tests
- spectrum_cli
- devtools
- conda-envs
- macos-latest
- ubuntu-latest
- examples
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
166 files changed
+6781
-3153
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
| 34 | + | |
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | | - | |
| 56 | + | |
57 | 57 | | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
| 58 | + | |
63 | 59 | | |
64 | 60 | | |
65 | 61 | | |
| |||
78 | 74 | | |
79 | 75 | | |
80 | 76 | | |
81 | | - | |
82 | 77 | | |
83 | | - | |
84 | 78 | | |
85 | | - | |
86 | 79 | | |
87 | | - | |
88 | | - | |
| 80 | + | |
89 | 81 | | |
90 | 82 | | |
91 | 83 | | |
| |||
96 | 88 | | |
97 | 89 | | |
98 | 90 | | |
99 | | - | |
| 91 | + | |
| 92 | + | |
100 | 93 | | |
101 | | - | |
| 94 | + | |
102 | 95 | | |
103 | 96 | | |
104 | 97 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
| 34 | + | |
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | | - | |
| 56 | + | |
57 | 57 | | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
| 58 | + | |
| 59 | + | |
64 | 60 | | |
65 | 61 | | |
66 | 62 | | |
67 | 63 | | |
68 | 64 | | |
69 | 65 | | |
70 | 66 | | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | 67 | | |
79 | 68 | | |
80 | | - | |
81 | | - | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
82 | 78 | | |
83 | | - | |
84 | 79 | | |
85 | 80 | | |
86 | 81 | | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
87 | 85 | | |
| 86 | + | |
88 | 87 | | |
89 | | - | |
90 | 88 | | |
91 | 89 | | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
92 | 97 | | |
93 | 98 | | |
94 | 99 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
| 34 | + | |
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | | - | |
| 56 | + | |
57 | 57 | | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
| 58 | + | |
| 59 | + | |
64 | 60 | | |
65 | 61 | | |
66 | 62 | | |
| |||
77 | 73 | | |
78 | 74 | | |
79 | 75 | | |
80 | | - | |
81 | 76 | | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | 77 | | |
89 | 78 | | |
90 | 79 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | | - | |
| 56 | + | |
57 | 57 | | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
| 58 | + | |
| 59 | + | |
64 | 60 | | |
65 | 61 | | |
66 | 62 | | |
67 | 63 | | |
68 | 64 | | |
69 | 65 | | |
70 | 66 | | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | 67 | | |
79 | 68 | | |
80 | | - | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
81 | 75 | | |
| 76 | + | |
| 77 | + | |
82 | 78 | | |
83 | 79 | | |
84 | | - | |
85 | | - | |
86 | 80 | | |
87 | 81 | | |
88 | 82 | | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
89 | 90 | | |
90 | 91 | | |
91 | 92 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
67 | | - | |
| 67 | + | |
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
| |||
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
85 | | - | |
86 | 85 | | |
87 | 86 | | |
88 | 87 | | |
89 | 88 | | |
90 | 89 | | |
91 | | - | |
92 | 90 | | |
93 | 91 | | |
94 | 92 | | |
| |||
This file was deleted.
0 commit comments