Skip to content

Commit

Permalink
Adding new/updated io.github.betaseg_cellsketch-add-filament-knossos_…
Browse files Browse the repository at this point in the history
…0.1.1
  • Loading branch information
frauzufall committed Mar 6, 2024
1 parent 0fba341 commit a5fb69c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
Binary file modified album_catalog_index.db
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
def install():
import subprocess
import shutil
import os
from album.runner.api import get_app_path, get_package_path

get_app_path().mkdir(exist_ok=True, parents=True)
Expand All @@ -16,18 +15,19 @@ def install():
shutil.copytree(get_package_path().joinpath('src'), get_app_path().joinpath('src'))
shutil.copytree(get_package_path().joinpath('gradle'), get_app_path().joinpath('gradle'))

gradle_executable = get_gradle_executable()
os.chmod(gradle_executable, 0o755)
subprocess.run([gradle_executable, 'build', '-Dorg.gradle.internal.http.socketTimeout=300000'],
subprocess.run([(get_gradle_executable()), 'build', '-Dorg.gradle.internal.http.socketTimeout=300000'],
cwd=get_app_path(), check=True)


def get_gradle_executable():
from sys import platform
import os
from album.runner.api import get_app_path
if platform == "win32":
return str(get_app_path().joinpath('gradlew.bat').absolute())
return str(get_app_path().joinpath('gradlew').absolute())
gradle_executable = str(get_app_path().joinpath('gradlew').absolute())
os.chmod(gradle_executable, 0o755)
return gradle_executable


def run():
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,6 @@ tags:
- cellsketch
- segmentation
- annotation
timestamp: '2024-03-06T16:29:57.739098'
timestamp: '2024-03-06T16:32:09.259669'
title: 'CellSketch: Add KNOSSOS filament'
version: 0.1.1

0 comments on commit a5fb69c

Please sign in to comment.