updated version. Added inference test
Browse files- .github/workflows/build.yaml +13 -0
- setup.py +1 -2
.github/workflows/build.yaml
CHANGED
@@ -42,6 +42,19 @@ jobs:
|
|
42 |
- name: Test CLI
|
43 |
run: livermask --help
|
44 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
45 |
- name: Upload Python wheel
|
46 |
uses: actions/upload-artifact@v2
|
47 |
with:
|
|
|
42 |
- name: Test CLI
|
43 |
run: livermask --help
|
44 |
|
45 |
+
- name: Download test sample
|
46 |
+
run: |
|
47 |
+
pip install gdown
|
48 |
+
mkdir samples
|
49 |
+
cd samples
|
50 |
+
gdown https://drive.google.com/uc?id=1shjSrFjS4PHE5sTku30PZTLPZpGu24o3
|
51 |
+
|
52 |
+
- name: Test inference
|
53 |
+
run: |
|
54 |
+
ls
|
55 |
+
livermask --input test-volume.nii --output test-output
|
56 |
+
ls
|
57 |
+
|
58 |
- name: Upload Python wheel
|
59 |
uses: actions/upload-artifact@v2
|
60 |
with:
|
setup.py
CHANGED
@@ -12,7 +12,7 @@ with open('requirements.txt', 'r', encoding='utf-16') as ff:
|
|
12 |
|
13 |
setup(
|
14 |
name='livermask',
|
15 |
-
version='1.3.
|
16 |
author="André Pedersen",
|
17 |
author_email="[email protected]",
|
18 |
license='MIT',
|
@@ -38,7 +38,6 @@ setup(
|
|
38 |
"Programming Language :: Python :: 3.6",
|
39 |
"Programming Language :: Python :: 3.7",
|
40 |
"Programming Language :: Python :: 3.8",
|
41 |
-
"Programming Language :: Python :: 3.9",
|
42 |
"License :: OSI Approved :: MIT License",
|
43 |
"Operating System :: OS Independent",
|
44 |
],
|
|
|
12 |
|
13 |
setup(
|
14 |
name='livermask',
|
15 |
+
version='1.3.1',
|
16 |
author="André Pedersen",
|
17 |
author_email="[email protected]",
|
18 |
license='MIT',
|
|
|
38 |
"Programming Language :: Python :: 3.6",
|
39 |
"Programming Language :: Python :: 3.7",
|
40 |
"Programming Language :: Python :: 3.8",
|
|
|
41 |
"License :: OSI Approved :: MIT License",
|
42 |
"Operating System :: OS Independent",
|
43 |
],
|