Skip to content
Snippets Groups Projects
Commit 0d152d17 authored by Felipe Delestro Matos's avatar Felipe Delestro Matos
Browse files

Setup for v0.3.0

parent 35e5aff8
Branches
Tags v0.3.0
No related merge requests found
......@@ -62,6 +62,11 @@ app = qim3d.gui.iso3d.Interface()
app.launch()
```
GUIs can also be launched using the Qim3D CLI:
```
$ qim3d gui --data-explorer
```
# Contributing
Contributions to `qim3d` are welcome! If you find a bug, have a feature request, or would like to contribute code, please open an issue or submit a pull request.
......
......@@ -43,12 +43,12 @@ class Interface:
# In case we have a directory
if os.path.isdir(new_path):
return gr.update(root=new_path, label=new_path)
return gr.update(root_dir=new_path, label=new_path)
elif os.path.isfile(new_path):
parent_dir = os.path.dirname(new_path)
file_name = str(os.path.basename(new_path))
return gr.update(root=parent_dir, label=parent_dir, value=file_name)
return gr.update(root_dir=parent_dir, label=parent_dir, value=file_name)
else:
raise ValueError("Invalid path")
......@@ -102,7 +102,7 @@ class Interface:
)
explorer = gr.FileExplorer(
glob="{*/,}{*.*}",
root=os.getcwd(),
root_dir=os.getcwd(),
label=os.getcwd(),
render=True,
file_count="single",
......
albumentations>=1.3.1
gradio>=3.44.3
h5py>=3.9.0
localthickness>=0.1.2
matplotlib>=3.7.1
monai>=1.2.0
numpy>=1.25.2
outputformat>=0.1.3
Pillow>=10.0.1
plotly>=5.14.1
scipy>=1.11.2
seaborn>=0.12.2
setuptools>=68.0.0
tifffile>=2023.4.12
torch>=2.0.1
torchvision>=0.15.2
torchinfo>=1.8.0
tqdm>=4.65.0
albumentations>=1.3.1,
gradio>=4.15.0,
h5py>=3.9.0,
localthickness>=0.1.2,
matplotlib>=3.8.0,
monai>=1.2.0,
numpy>=1.26.0,
outputformat>=0.1.3,
Pillow>=10.0.1,
plotly>=5.14.1,
scipy>=1.11.2,
seaborn>=0.12.2,
setuptools>=68.0.0,
tifffile>=2023.4.12,
torch>=2.0.1,
torchvision>=0.15.2,
torchinfo>=1.8.0,
tqdm>=4.65.0,
nibabel>=5.2.0
......@@ -9,7 +9,7 @@ with open("README.md", "r", encoding="utf-8") as f:
setup(
name="qim3d",
version="0.2.0",
version="0.3.0",
author="Felipe Delestro",
author_email="fima@dtu.dk",
description="QIM tools and user interfaces",
......@@ -26,7 +26,7 @@ setup(
classifiers=[
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Development Status :: 2 - Pre-Alpha",
"Development Status :: 4 - Beta",
"Intended Audience :: Education",
"Intended Audience :: Science/Research",
"Natural Language :: English",
......@@ -35,15 +35,15 @@ setup(
"Topic :: Scientific/Engineering :: Visualization",
"Topic :: Software Development :: User Interfaces",
],
python_requires=">=3.6",
python_requires=">=3.10",
install_requires=[
"albumentations>=1.3.1",
"gradio>=3.44.3",
"gradio>=4.15.0",
"h5py>=3.9.0",
"localthickness>=0.1.2",
"matplotlib>=3.7.1",
"matplotlib>=3.8.0",
"monai>=1.2.0",
"numpy>=1.25.2",
"numpy>=1.26.0",
"outputformat>=0.1.3",
"Pillow>=10.0.1",
"plotly>=5.14.1",
......@@ -55,5 +55,6 @@ setup(
"torchvision>=0.15.2",
"torchinfo>=1.8.0",
"tqdm>=4.65.0",
"nibabel>=5.2.0"
],
)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment