Skip to content

Commit

Permalink
Adding new/updated io.github.betaseg_cellsketch-add-boundary_0.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
frauzufall committed Mar 6, 2024
1 parent a5fb69c commit 5804959
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.
10 changes: 5 additions & 5 deletions solutions/io.github.betaseg/cellsketch-add-boundary/solution.py
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:20:23.677510'
timestamp: '2024-03-06T16:32:44.504305'
title: 'CellSketch: Add boundary'
version: 0.2.1

0 comments on commit 5804959

Please sign in to comment.