-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ENH:Renaming application to Minder3D and packaging
- Loading branch information
Showing
68 changed files
with
210 additions
and
107 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains 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 |
---|---|---|
@@ -1,6 +1,9 @@ | ||
build | ||
*egg-info | ||
experiments | ||
venv* | ||
archive | ||
__pycache__ | ||
*.swp | ||
*~ | ||
*.zip |
This file was deleted.
Oops, something went wrong.
This file contains 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 |
---|---|---|
|
@@ -30,4 +30,4 @@ repos: | |
hooks: | ||
- id: prettier | ||
stages: [commit] | ||
exclude: "src/ui_*" | ||
exclude: ["src/ui_*", "*.md"] |
This file contains 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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
# pytubeview | ||
# Minder3D | ||
|
||
Analyze and visualize vessels in 3D | ||
Using AI to foster innovation in the exploration of radiological images. |
This file contains 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 |
---|---|---|
@@ -1,5 +1,6 @@ | ||
QT Designer was used to define the layout: | ||
qt6-tools.exe designer pytubeview.ui | ||
Prior to making a commit, please verify your code is compliant: | ||
pre-commit run --all-files | ||
|
||
Then view the python code and same to | ||
ui_pytubeview.py | ||
QT Designer was used to define the layout. On Windows, to launch | ||
designer, use this command: | ||
qt6-tools.exe designer pytubeview.ui |
This file contains 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 |
---|---|---|
@@ -1,9 +1,73 @@ | ||
# Python | ||
[build-system] | ||
requires = ["setuptools", "setuptools-scm"] | ||
build-backend = "setuptools.build_meta" | ||
|
||
[project] | ||
name = "minder3d" | ||
description = "Using AI to foster innovation in the exploration of radiological images." | ||
license = {text = "Apache 2.0"} | ||
requires-python = ">=3.10" | ||
classifiers = [ | ||
"Programming Language :: Python :: 3" | ||
] | ||
dynamic = ["version", "readme"] | ||
|
||
dependencies = [ | ||
'PyQt6', | ||
'PySide6', | ||
'numpy', | ||
'vtk', | ||
#'itk', # Do not install until ITK pypi is updated | ||
] | ||
|
||
[project.scripts] | ||
|
||
minder3d = "minder3d.main:main" | ||
|
||
[project.optional-dependencies] | ||
|
||
develop = [ | ||
'black', | ||
'pylint', | ||
'flake8' | ||
] | ||
|
||
[tool.setuptools.packages.find] | ||
where = ["src"] | ||
|
||
[tool.setuptools.dynamic] | ||
version = {attr = "minder3d.__version__"} | ||
readme = {file = ["README.md"]} | ||
|
||
[tool.black] | ||
line-length = 80 | ||
skip-string-normalization = 1 | ||
target_version = ["py311"] | ||
target_version = ['py311'] | ||
exclude = ''' | ||
( | ||
/( | ||
\.eggs # exclude a few common directories in the | ||
| \.git # root of the project | ||
| \.hg | ||
| \.mypy_cache | ||
| \.tox | ||
| \.venv | ||
| _build | ||
| build | ||
| dist | ||
)/ | ||
| .gitignore | ||
) | ||
''' | ||
|
||
[tool.flake8] | ||
max-line-length = 80 | ||
extend-ignore = ["E501"] | ||
|
||
[tool.isort] | ||
profile = "black" | ||
skip_glob = "src/ui_*" | ||
line_length = 80 | ||
|
||
[tool.pylint] | ||
max-line-length = 80 |
This file was deleted.
Oops, something went wrong.
This file contains 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 @@ | ||
__version__ = "0.9.0" |
This file contains 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,28 @@ | ||
#!/usr/bin/env python3 | ||
|
||
""" | ||
Helper utility to parse input parameters for a given run. | ||
""" | ||
|
||
import argparse | ||
|
||
|
||
def parse_config() -> argparse.Namespace: | ||
""" | ||
Parse command line arguments to configure the run. | ||
""" | ||
|
||
parser = argparse.ArgumentParser( | ||
description="Enabling innovative AI for medical imaging.") | ||
|
||
parser.add_argument( | ||
"--load-image", type=str, required=False, help="Path to image" | ||
) | ||
parser.add_argument( | ||
"--load-scene", type=str, required=False, help="Path to scene" | ||
) | ||
|
||
args = parser.parse_args() | ||
print(args) | ||
|
||
return args |
Empty file.
2 changes: 1 addition & 1 deletion
2
src/sovChatPanelWidget.py → src/minder3d/lib/sovChatPanelWidget.py
This file contains 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
File renamed without changes.
File renamed without changes.
File renamed without changes.
6 changes: 3 additions & 3 deletions
6
src/sovImageProcessPanelWidget.py → ...inder3d/lib/sovImageProcessPanelWidget.py
This file contains 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
File renamed without changes.
File renamed without changes.
This file contains 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
File renamed without changes.
This file contains 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
File renamed without changes.
This file contains 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 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
File renamed without changes.
10 changes: 5 additions & 5 deletions
10
src/sovNewTaskPanelWidget.py → src/minder3d/lib/sovNewTaskPanelWidget.py
This file contains 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
File renamed without changes.
File renamed without changes.
This file contains 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
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
src/sovScreenCapturePanelWidget.py → ...nder3d/lib/sovScreenCapturePanelWidget.py
This file contains 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
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
src/sovTubesPanelWidget.py → src/minder3d/lib/sovTubesPanelWidget.py
This file contains 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
File renamed without changes.
This file contains 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 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
File renamed without changes.
This file contains 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 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
6 changes: 3 additions & 3 deletions
6
src/sovView3DPanelWidget.py → src/minder3d/lib/sovView3DPanelWidget.py
This file contains 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
File renamed without changes.
This file contains 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 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.