Skip to content

Commit

Permalink
Major rework on DLMUSEV2
Browse files Browse the repository at this point in the history
  • Loading branch information
spirosmaggioros committed Sep 14, 2024
1 parent 940aa1d commit 2df6da1
Show file tree
Hide file tree
Showing 23 changed files with 40,895 additions and 769 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: pre-commit

on:
pull_request:
push:
branches: [main]

jobs:
pre-commit:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.12"
- run: pip3 install pre-commit
- run: pre-commit run --files src/*
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -182,4 +182,7 @@ Temporary Items
*.nii
*.nii.gz
temp/
.vscode
.vscode

# Prevent nnunet_results from going into production
nnunet_results/
19 changes: 19 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
repos:
- repo: https://github.com/ambv/black
rev: 24.3.0
hooks:
- id: black
- repo: https://github.com/pycqa/isort
rev: 5.11.5
hooks:
- id: isort
args: ["--profile", "black"]
- repo: https://github.com/pycqa/flake8
rev: 5.0.4
hooks:
- id: flake8
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v0.991
hooks:
- id: mypy
args: ["--ignore-missing-imports"]
1 change: 0 additions & 1 deletion DLMUSE/VERSION

This file was deleted.

79 changes: 0 additions & 79 deletions DLMUSE/__main__.py

This file was deleted.

63 changes: 0 additions & 63 deletions DLMUSE/compute_muse.py

This file was deleted.

173 changes: 0 additions & 173 deletions DLMUSE/compute_volumes.py

This file was deleted.

Loading

0 comments on commit 2df6da1

Please sign in to comment.