Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
385 commits
Select commit Hold shift + click to select a range
cb476f5
Make sure xs and ys are np arrays
jolaem Oct 27, 2023
63b81ac
Update number of plots for tests
jolaem Oct 27, 2023
2ca0877
Merge pull request #242 from alan-turing-institute/model_summary
jolaem Oct 27, 2023
d18df18
Merge pull request #243 from alan-turing-institute/pose_embeddings
jolaem Oct 30, 2023
cbe7ae1
Remove hardcoded hyperparam from model A
jolaem Oct 31, 2023
12085a6
Parametrise batch norm in B and add in A
jolaem Oct 30, 2023
140e9e7
Parametrise reduction on KLD term.
jolaem Oct 30, 2023
2e84079
Set default for BatchNorm to False
jolaem Nov 2, 2023
edae84c
Add a placeholder for encoder and decoder (and future model).
jolaem Nov 2, 2023
5d03096
reduce logging
crangelsmith Nov 2, 2023
145bb33
fixing break
crangelsmith Nov 2, 2023
82f4fb2
Merge pull request #248 from alan-turing-institute/reduce_logging
crangelsmith Nov 2, 2023
9f791f0
updating toml
crangelsmith Nov 3, 2023
292a986
updating test workflow
crangelsmith Nov 3, 2023
3fb6497
reformating from new precommit
crangelsmith Nov 3, 2023
e3c4480
removing deprecated setup.cfg
crangelsmith Nov 3, 2023
e842398
remove still surviving .DS_Store file
crangelsmith Nov 3, 2023
c4d7039
adding pydantic library to installation
crangelsmith Nov 3, 2023
49142e4
moving configuration setup from utils to config.py
crangelsmith Nov 3, 2023
df69a48
Added the function in the process of debugging
marjanfamili Nov 3, 2023
fe58c20
made the corners selected from unique classes
marjanfamili Nov 5, 2023
251476a
removing configuration from utils.py
crangelsmith Nov 7, 2023
7fc1c3e
updating config mode
crangelsmith Nov 7, 2023
af8ca92
Update README.md
crangelsmith Nov 7, 2023
b08f46a
Update README.md
crangelsmith Nov 7, 2023
35b07e5
Merge pull request #249 from alan-turing-institute/238-toml-tests
crangelsmith Nov 8, 2023
b75c53f
updating configuration to use pydantic
crangelsmith Nov 8, 2023
42647cb
adding tests for new configuration
crangelsmith Nov 8, 2023
93eeeec
always defining VIS_POSE_CLASS
crangelsmith Nov 8, 2023
e14dcc4
moving global variables to a settings.py file
crangelsmith Nov 8, 2023
f4bfa95
adding extra tests on configuration validation
crangelsmith Nov 8, 2023
fd9826e
move call from config to settings
crangelsmith Nov 8, 2023
c41ae92
updating pipeline test to run on new configuration setup
crangelsmith Nov 8, 2023
9df7d8f
VIS_POSE_CLASS default should be None
crangelsmith Nov 8, 2023
b390de9
precommit
crangelsmith Nov 8, 2023
930876a
adding extra test from writing file
crangelsmith Nov 8, 2023
8b10e01
updating readme with test running instructions
crangelsmith Nov 8, 2023
c169b52
improving the way temporary directories are created in tests
crangelsmith Nov 8, 2023
811db56
improving the way temporary directories are created in tests
crangelsmith Nov 8, 2023
b64eb00
making limit optional in config validaiton
crangelsmith Nov 8, 2023
1080c2e
Unify models
jolaem Nov 8, 2023
22de384
Remove model A and model B
jolaem Nov 8, 2023
8cdd2e5
Update tests for model unify.
jolaem Nov 8, 2023
6789a49
Fix filters for unifying models.
jolaem Nov 8, 2023
dba2615
Fix filter check when None for unify models.
jolaem Nov 9, 2023
67e6b2e
Fix for unify model when filters is None
jolaem Nov 9, 2023
18f68d3
Merge remote-tracking branch 'origin/unify_models' into 240-abstract-…
crangelsmith Nov 9, 2023
df4abf6
adding abstract encoder, decoders
crangelsmith Nov 9, 2023
e741d60
Merge remote-tracking branch 'origin/develop' into 240-abstract-model
crangelsmith Nov 9, 2023
bdb1f5b
adding abstract encoder, decoders
crangelsmith Nov 9, 2023
df2d437
updating model and run with version from unified model
crangelsmith Nov 9, 2023
40ef097
updating train with new decoder/encoder abstracion
crangelsmith Nov 9, 2023
e38f57d
adding model abstraction and fixing minor issues for model a and b
crangelsmith Nov 9, 2023
3aa75ca
moving encoder/decoders to dedicated directory
crangelsmith Nov 10, 2023
c7bd843
adding model to output directory
crangelsmith Nov 10, 2023
5f9862e
Update README.md
NikJur Nov 10, 2023
b9be531
adding model to output directory
crangelsmith Nov 10, 2023
a94fcf0
select only one of the latent embeddings at random to pass to the pos…
marjanfamili Nov 13, 2023
deb16e8
Update README.md
crangelsmith Nov 13, 2023
262844e
Update README.md
crangelsmith Nov 13, 2023
41f57c5
some debugging to accomodate pose dimension and some housekeeping
marjanfamili Nov 14, 2023
01a4023
precommit
marjanfamili Nov 14, 2023
0a8ee0c
updating model tests
crangelsmith Nov 14, 2023
092810e
merge with pydantic-config
marjanfamili Nov 14, 2023
fa7e53c
updating loss models
crangelsmith Nov 15, 2023
483de5d
precommit readme fix
crangelsmith Nov 15, 2023
cc4c540
Merge pull request #254 from NikJur/patch-2
crangelsmith Nov 15, 2023
81ed25c
fixing broken tests
crangelsmith Nov 15, 2023
8e8dce4
debugging and fixing tests
marjanfamili Nov 15, 2023
fc19403
updating python version for tests
crangelsmith Nov 15, 2023
2eb9830
differentiable
marjanfamili Nov 16, 2023
e988785
Merge branch 'develop' into second_interpolation_plot_merge_develop
marjanfamili Nov 16, 2023
47d3a8f
adding batch normalisation to modelA
crangelsmith Nov 16, 2023
533d645
separating batch normalisation for encoder-decoder
crangelsmith Nov 16, 2023
4abe8bb
Update README.md
crangelsmith Nov 16, 2023
8fa9ca8
small bug
marjanfamili Nov 16, 2023
98fce5a
Merge pull request #251 from alan-turing-institute/201-pydantic-config
crangelsmith Nov 16, 2023
7089293
fixing bug on batch norm for decoder a
crangelsmith Nov 17, 2023
64bd4fe
minor modification to pose plot function , adding pose to the GSD dec…
marjanfamili Nov 20, 2023
9fe4f14
Merge remote-tracking branch 'origin/240-abstract-model' into differe…
marjanfamili Nov 20, 2023
1b597fe
added n_splats as a configurable parameter
marjanfamili Nov 20, 2023
e3fb634
changed 4enc_latents plot
marjanfamili Nov 22, 2023
9792d17
changed the function slightly to start from already existing encoding…
marjanfamili Nov 22, 2023
a66eb24
add dataparallelisation
marjanfamili Nov 23, 2023
762ce9d
Merge branch 'develop' into second_interpolation_plot
crangelsmith Nov 23, 2023
ec91866
Update README.md
crangelsmith Nov 23, 2023
226905c
precommit on README.md
crangelsmith Nov 23, 2023
0bbfd50
adding tutorial of how to run affinityvae on mnist dataset
crangelsmith Nov 24, 2023
80707fb
Merge branch 'second_interpolation_plot' into differentiable_decoder
marjanfamili Nov 23, 2023
7fb926a
Fix failing interpolation plot and remove prettier.
jolaem Nov 27, 2023
401fc63
updating tutorial
crangelsmith Nov 27, 2023
97f373f
resolving the comments mentioned by Jola : 1- batch is redundant 2- b…
marjanfamili Nov 27, 2023
d5708b5
updating readmes with tutorial
crangelsmith Nov 27, 2023
36ff6a1
updating default rotations for MNIST
crangelsmith Nov 27, 2023
9bfae39
adapt teh decoder to utilise multiple GPUs
marjanfamili Nov 30, 2023
cc29686
adapt visualisation functions and removed two from train.py for now b…
marjanfamili Nov 30, 2023
130fba4
made same changes to evaluate.py and pre-commit
marjanfamili Nov 30, 2023
6a06ed3
removed grid processing from pose_class_disentanglement_plot
marjanfamili Nov 28, 2023
fa2b01d
removing torch and torchvision from pyproject.toml FOR NOW because I…
marjanfamili Dec 1, 2023
c806756
correct device
marjanfamili Dec 1, 2023
9e0f173
adding napari widget [WIP]
crangelsmith Dec 1, 2023
4224d8a
Merge pull request #253 from alan-turing-institute/240-abstract-model
crangelsmith Dec 4, 2023
654b53c
changed the latent_disentamglement_plot to iterate rather than batch …
marjanfamili Dec 4, 2023
2f5b2a0
The interpolations_plot function updated to decode data individually
marjanfamili Dec 4, 2023
ac14c73
added docstring
marjanfamili Dec 4, 2023
ffc068c
change torch tensor from float to directly convert from numpy I think…
marjanfamili Dec 5, 2023
d359a2d
addressing the comment to use one global variable for dshape
marjanfamili Dec 6, 2023
afc9d3b
removed data_dim argument as it is not redundant because we are passi…
marjanfamili Dec 6, 2023
3a8fbf3
Adding documentation to pose_interpolation function in the utils.py
marjanfamili Dec 6, 2023
5291a0c
Merge pull request #259 from alan-turing-institute/change_disentangle…
marjanfamili Dec 6, 2023
49afe88
Merge branch 'develop' into second_interpolation_plot
marjanfamili Dec 6, 2023
e4dcefc
fix the number of plots in tests
marjanfamili Dec 6, 2023
6b84e0f
Merge pull request #255 from alan-turing-institute/second_interpolati…
marjanfamili Dec 6, 2023
a4de8eb
updating napari widget to work with affinityvae outputs
crangelsmith Dec 6, 2023
1dd69d5
adding script to run napari pluggin
crangelsmith Dec 6, 2023
47c9770
move subtomo creation script to script directory
crangelsmith Dec 6, 2023
08252a4
merged develop
marjanfamili Dec 8, 2023
9494c22
add data dependant slider
crangelsmith Dec 8, 2023
93b12fc
adding debugging output
crangelsmith Dec 8, 2023
a8b3730
manifold implementation
crangelsmith Dec 8, 2023
4e80ad3
adjusting for napari-pydantic incompatibility
crangelsmith Dec 8, 2023
b7b851c
removing the pydantic versioning for general package
crangelsmith Dec 8, 2023
0665cbc
TDD: Add model tests for pose, no conv and filters.
jolaem Dec 8, 2023
f5f544d
Add functionality to support new tests:
jolaem Dec 8, 2023
1dee0eb
Add test for no affinity loss.
jolaem Dec 8, 2023
0f2d086
adding manifold option to script
crangelsmith Dec 11, 2023
88fd990
adding README.md
crangelsmith Dec 11, 2023
e7e513c
removing large files check
crangelsmith Dec 11, 2023
be74f8c
add screenshots
crangelsmith Dec 11, 2023
952099c
removing hardcoded manifold option
crangelsmith Dec 11, 2023
c1a9309
Update README.md
crangelsmith Dec 11, 2023
271dd7f
precommit
crangelsmith Dec 11, 2023
e796a3a
Merge branch 'develop' into 218-tutorial
crangelsmith Dec 11, 2023
adf4b54
fixing typos
crangelsmith Dec 11, 2023
e7fb916
Add whole pipeline tests for no pose.
jolaem Dec 11, 2023
afe5287
Add whole pipeline test for gamma = 0.
jolaem Dec 11, 2023
9bbc22c
fixing wrong script name on README.md
crangelsmith Dec 12, 2023
2e4e223
improving range utility
crangelsmith Dec 12, 2023
7e058a4
Update tutorials/README.md
crangelsmith Dec 13, 2023
664ebdf
Update tutorials/README.md
crangelsmith Dec 13, 2023
c677a65
Update tutorials/README.md
crangelsmith Dec 13, 2023
624f22b
Update tutorials/README.md
crangelsmith Dec 13, 2023
58a7596
Update tutorials/README.md
crangelsmith Dec 13, 2023
ba35960
adding comment about the cartesian variable left as placeholder
crangelsmith Dec 13, 2023
c955956
adding reference to the napari plugin in the README.md
crangelsmith Dec 13, 2023
c2372de
Merge pull request #264 from alan-turing-institute/napari-widget
crangelsmith Dec 13, 2023
d70fa1f
Add unit tests for visualisations.
jolaem Dec 13, 2023
a3f5836
Merge pull request #257 from alan-turing-institute/218-tutorial
crangelsmith Dec 14, 2023
f203523
type annotation decoders
crangelsmith Dec 18, 2023
d751dd4
type annotation encoders
crangelsmith Dec 18, 2023
71cf8b2
adding mypy to type annotation precommit
crangelsmith Dec 18, 2023
0eb509b
fixing annotations based on mypy
crangelsmith Dec 18, 2023
50853b1
Revert "type annotation encoders"
crangelsmith Dec 18, 2023
102aa7b
Revert "type annotation decoders"
crangelsmith Dec 18, 2023
7891e04
fixing precommit
crangelsmith Dec 18, 2023
c1b32a0
updating python in tests.yml
crangelsmith Dec 18, 2023
774b772
updating python in tests.yml
crangelsmith Dec 18, 2023
158f23b
updating python in tests.yml
crangelsmith Dec 18, 2023
c152928
action v4
crangelsmith Dec 18, 2023
4479cfc
3.10.4
crangelsmith Dec 18, 2023
69a9e08
3.10.4
crangelsmith Dec 18, 2023
e9f829e
Update checks.yml
crangelsmith Dec 18, 2023
0b29ebc
precomit tests
crangelsmith Dec 18, 2023
c0b741d
Update checks.yml
crangelsmith Dec 18, 2023
0d8a0ce
Merge remote-tracking branch 'origin/type-annotation' into type-annot…
crangelsmith Dec 18, 2023
3007253
Merge branch 'develop' into type-annotation
crangelsmith Dec 18, 2023
30c7e19
unifying torch imports
crangelsmith Dec 18, 2023
7c4d7cc
Merge remote-tracking branch 'origin/type-annotation' into type-annot…
crangelsmith Dec 18, 2023
5312621
fixing typo
crangelsmith Dec 18, 2023
e0fd53e
removing dataparallel, this way model can work for 32x32x32 input
marjanfamili Dec 18, 2023
e38a5e1
adding mypy to precommit
crangelsmith Dec 18, 2023
8433c3b
Merge branch 'develop' into differentiable_decoder
marjanfamili Dec 18, 2023
0dc1dd3
changing type of optimiser for flexibility
crangelsmith Dec 18, 2023
d502465
more type hints
crangelsmith Dec 18, 2023
44217a7
more type hints
crangelsmith Dec 19, 2023
77a37ce
adapting the napari plugin to work with differentiable decoder
marjanfamili Dec 19, 2023
3cd2f05
more type hints
crangelsmith Dec 19, 2023
0929746
more type hints
crangelsmith Dec 19, 2023
c3b07aa
fixing filters list/array ambiguity
crangelsmith Dec 19, 2023
bbd909f
Added DataParalell back. tested for model A,B, GSD for both single an…
marjanfamili Dec 19, 2023
e3a7636
adding common dependencies and training dependencies
crangelsmith Jan 5, 2024
bd06e8f
reverting to optional dependencies
crangelsmith Jan 5, 2024
c8f8dfa
updating README.md
crangelsmith Jan 5, 2024
e1b33ab
updating README.md for napari
crangelsmith Jan 5, 2024
6de45c5
updating README.md for how to install in baskerville
crangelsmith Jan 5, 2024
b70dc8c
Update README.md
crangelsmith Jan 8, 2024
b5a7762
Fix failing tests
jolaem Jan 8, 2024
72c00db
fixing typo
crangelsmith Jan 9, 2024
b159464
Merge pull request #272 from alan-turing-institute/type-annotation
crangelsmith Jan 9, 2024
8e7e5fb
Merge pull request #277 from alan-turing-institute/271-flexible-intal…
crangelsmith Jan 9, 2024
e1fdb1b
Add comprehensive model parameter unit tests
jolaem Jan 9, 2024
8c61bef
removed nn.DataParallel. This is because we are going to move pytorc…
marjanfamili Jan 10, 2024
d3ad2c6
Fix pre-commit.
jolaem Jan 10, 2024
a72ca82
make the branch compatible with the new type-annotation
marjanfamili Jan 10, 2024
2148cef
Merge remote-tracking branch 'remotes/origin/271-flexible-intalation'…
marjanfamili Jan 10, 2024
42491de
addressing the reviews. adjustment to how pose axis are considered i…
marjanfamili Jan 12, 2024
aa4fa25
changed the pose adaptation by napari to name the axis after the pose…
marjanfamili Jan 12, 2024
1a276a1
Merge branch 'develop' into add_pose_unit_tests
jolaem Jan 15, 2024
9ee8c24
Update README.md
crangelsmith Jan 15, 2024
bd74e72
Fix pydantic and test failures.
jolaem Jan 15, 2024
73ee199
added display parameter and random_state and perplexity for UMAP and …
marjanfamili Jan 17, 2024
c59ab7c
precommit
marjanfamili Jan 17, 2024
4bd6d70
Added the post processing notebook. This is very much under developme…
marjanfamili Jan 17, 2024
5e7212b
added affinity plotting to extract the classes one need to present in…
marjanfamili Jan 17, 2024
d26fa45
pushing the calculation part of cosine similarity plotting to utils.p…
marjanfamili Jan 18, 2024
e09c45e
made similarity plots consistent with Affinity
marjanfamili Jan 18, 2024
9a8b051
fixing bug
marjanfamili Jan 23, 2024
bb33a62
Merge pull request #269 from alan-turing-institute/add_pose_unit_tests
crangelsmith Jan 23, 2024
8b85fd1
Adding the pose-angle correlation plot
marjanfamili Jan 23, 2024
ec2048d
Merge branch 'develop' into post_processing_notebook
marjanfamili Jan 23, 2024
c9807cc
pre-commit
marjanfamili Jan 23, 2024
d1087cb
adjust tests
marjanfamili Jan 23, 2024
db4c49b
fixing tests, two plots less because I have adjusted the similarity p…
marjanfamili Jan 23, 2024
755e049
fixing mypy error
crangelsmith Jan 24, 2024
966c445
allowing for 2D data
crangelsmith Jan 24, 2024
50b7631
Merge branch 'develop' into differentiable_decoder
marjanfamili Jan 24, 2024
1ca5d94
Merge pull request #282 from alan-turing-institute/post_processing_no…
marjanfamili Jan 24, 2024
0528f9b
added control parameter for convolution layers in gsd
marjanfamili Jan 24, 2024
62c4bd0
Added more adjusteable parameters to umap plots and fixed the bug for…
marjanfamili Jan 30, 2024
4eb8a70
Changed teh gsd_conv_layers type and removed clear cache for torch, t…
marjanfamili Jan 31, 2024
f9488e3
adding fix for napari
crangelsmith Jan 31, 2024
5d35574
Merge pull request #280 from alan-turing-institute/differentiable_dec…
marjanfamili Feb 1, 2024
ba8d25b
Added more instructions to the notebook
marjanfamili Feb 1, 2024
751c1fb
added more flexibile options to plotting functions
marjanfamili Feb 2, 2024
aa3206f
changed the vis defaults to none so that either false or true overwri…
marjanfamili Feb 2, 2024
5820f8a
Merge pull request #286 from alan-turing-institute/further_post_process
marjanfamili Feb 5, 2024
d8557e8
Revert "Further post process"
marjanfamili Feb 5, 2024
598425d
removed optional and used the pipe notation
marjanfamili Feb 5, 2024
c4bdae4
mypy typing import error
marjanfamili Feb 5, 2024
046c6a2
Merge pull request #287 from alan-turing-institute/revert-286-further…
marjanfamili Feb 5, 2024
edaece4
small patch. checking the value of output channel is not none before …
marjanfamili Feb 6, 2024
104f86a
apply changes to postprocess notebook again as they were lost !
marjanfamili Feb 6, 2024
6334a57
Merge pull request #288 from alan-turing-institute/patch_napari_plugin
marjanfamili Feb 12, 2024
8bc2a90
minor changes to notebook : Added aesthetics modifiers to TSNE plots
marjanfamili Feb 19, 2024
938e200
#289
marjanfamili Feb 19, 2024
ea88acf
pose_dims not accepting 0. #289
marjanfamili Feb 19, 2024
7dc9703
Adding if condition to pose so that model A passes the right number o…
marjanfamili Feb 19, 2024
0f80f51
picks the latest written file in the states folder
marjanfamili Feb 20, 2024
4da73df
use is not instead of != because it checks the type. make sure the me…
marjanfamili Feb 26, 2024
36d49c1
file was not added before prev commit
marjanfamili Feb 26, 2024
5c0d2c8
Merge pull request #292 from alan-turing-institute/state_loading_post…
marjanfamili Feb 26, 2024
9bd5338
Add control parameter vis_format to choose if the files should be sav…
marjanfamili Feb 26, 2024
1502a7c
fixing tests
marjanfamili Feb 26, 2024
c503718
fix bug in the default value
marjanfamili Feb 27, 2024
7d9ce26
added confusion matrix as csv file
marjanfamili Feb 27, 2024
75d1676
fix the number of files in tests
marjanfamili Feb 27, 2024
b1be3dd
More fixes for the tests
marjanfamili Feb 27, 2024
fc1d28a
Merge pull request #295 from alan-turing-institute/pdf_png_file_save
marjanfamili Feb 27, 2024
cb9f387
A patch to this branch which will allow overwriting the setting.vis_f…
marjanfamili Mar 1, 2024
97791f1
Merge pull request #297 from alan-turing-institute/pdf_png_file_save
marjanfamili Mar 4, 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
2 changes: 1 addition & 1 deletion .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
- name: set up python
uses: actions/setup-python@v4
with:
python-version: 3.8
python-version: '3.10.4'

- name: set PY
run: echo "PY=$(python -VV | sha256sum | cut -d' ' -f1)" >> $GITHUB_ENV
Expand Down
24 changes: 11 additions & 13 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,14 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.8'
- name:
Install dependencies
run: |
python -m pip install --upgrade pip
pip install pytest
- name: Test with pytest
run: |
pip install -e .
pytest
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.10.4'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
- name: Test with pytest
run: |
python -m pip install -e ".[test]"
python -m pytest -s -W ignore
10 changes: 10 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -130,3 +130,13 @@ dmypy.json

# not change default config
configs/avae-test-config.yml

# remove mac specific files
.DS_Store

# remove pycharm specific files
.idea/
affinity-vae.code-workspace
.vscode/launch.json
.vscode/settings.json
.gitignore
78 changes: 51 additions & 27 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,28 +1,52 @@
ci:
autoupdate_commit_msg: "chore: update pre-commit hooks"
autofix_commit_msg: "style: pre-commit fixes"

repos:
- repo: https://github.com/pycqa/isort
rev: 5.12.0
hooks:
- id: isort
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.2.0
hooks:
- id: check-docstring-first
- id: check-executables-have-shebangs
- id: check-merge-conflict
- id: check-toml
- id: end-of-file-fixer
- id: mixed-line-ending
args: [--fix=lf]
- id: requirements-txt-fixer
- id: trailing-whitespace
args: [--markdown-linebreak-ext=md]
- repo: https://github.com/PyCQA/flake8
rev: 6.0.0
hooks:
- id: flake8
# this seems to need to be here in addition to setup.cfg
exclude: __init__.py|examples
- repo: https://github.com/psf/black
rev: 22.3.0
hooks:
- id: black
- repo: https://github.com/pycqa/isort
rev: 5.12.0
hooks:
- id: isort
args: ["--profile", "black", "--filter-files"]

- repo: https://github.com/pre-commit/pre-commit-hooks
rev: "v4.4.0"
hooks:
- id: check-docstring-first
- id: check-executables-have-shebangs
- id: check-merge-conflict
- id: check-toml
- id: end-of-file-fixer
- id: mixed-line-ending
args: [--fix=lf]
- id: requirements-txt-fixer
- id: trailing-whitespace
args: [--markdown-linebreak-ext=md]
- id: check-case-conflict
- id: check-merge-conflict
- id: check-symlinks
- id: check-yaml
- id: debug-statements
- id: end-of-file-fixer
- id: name-tests-test
args: ["--pytest-test-first"]
- id: requirements-txt-fixer

- repo: https://github.com/psf/black
rev: 22.3.0
hooks:
- id: black
#- repo: https://github.com/pre-commit/mirrors-prettier
#rev: "v3.0.3"
# hooks:
# - id: prettier
# types_or: [yaml, markdown, html, css, scss, javascript, json]
# args: [--prose-wrap=always]

- repo: https://github.com/pre-commit/mirrors-mypy
rev: 'v1.7.1' # Use the sha / tag you want to point at
hooks:
- id: mypy
language_version: python3.10
args: [--ignore-missing-imports]
additional_dependencies: ['types-PyYAML']
33 changes: 16 additions & 17 deletions LICENSE.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
BSD 3-Clause License

Copyright (c) 2022, Alan Turing Institute
All rights reserved.
Copyright (c) 2022, Alan Turing Institute All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:

1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.
Expand All @@ -13,17 +12,17 @@ modification, are permitted provided that the following conditions are met:
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.

3. Neither the name of the copyright holder nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.
3. Neither the name of the copyright holder nor the names of its contributors
may be used to endorse or promote products derived from this software without
specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Loading