Skip to content

Commit

Permalink
Adding new/updated io.github.betaseg_cellsketch-analyze_0.2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
frauzufall committed Mar 18, 2024
1 parent a624c1e commit cf8e6a4
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 8 deletions.
Binary file modified album_catalog_index.db
Binary file not shown.
3 changes: 3 additions & 0 deletions solutions/io.github.betaseg/cellsketch-analyze/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.2.2] - 2024-03-18
Fix issue when not all components of project exist

## [0.2.1] - 2024-03-06
Fix executable issue with gradlew

Expand Down
18 changes: 13 additions & 5 deletions solutions/io.github.betaseg/cellsketch-analyze/solution.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,18 @@ def calculate_edt(project, skip_existing_distance_maps, num_threads):

project_file = z5py.File(str(project))
project_name = Path(project).name.rstrip(".n5")
masks = project_file.attrs['masks']
labelmaps = project_file.attrs['labelmaps']
filaments = project_file.attrs['filaments']
cell_bounds = project_file.attrs['cellbounds']
masks = {}
labelmaps = {}
filaments = {}
cell_bounds = {}
if 'labelmaps' in project_file.attrs:
labelmaps = project_file.attrs['labelmaps']
if 'masks' in project_file.attrs:
masks = project_file.attrs['masks']
if 'filaments' in project_file.attrs:
filaments = project_file.attrs['filaments']
if 'cell_bounds' in project_file.attrs:
cell_bounds = project_file.attrs['cellbounds']
to_be_processed = []
to_be_processed_inverted = []

Expand Down Expand Up @@ -163,7 +171,7 @@ def is_file_arg(arg_name):
setup(
group="io.github.betaseg",
name="cellsketch-analyze",
version="0.2.1",
version="0.2.2",
solution_creators=["Deborah Schmidt"],
title="CellSketch: Run spatial analysis",
description="This solution performs spatial analysis for all organelles in a CellSketch project.",
Expand Down
6 changes: 3 additions & 3 deletions solutions/io.github.betaseg/cellsketch-analyze/solution.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ args:
description: Threads to use to calculate the distance transform maps.
name: num_threads
type: integer
changelog: Fix executable issue with gradlew
changelog: Fix issue when not all components of project exist
cite:
- doi: https://doi.org/10.1083/jcb.202010039
text: "A. M\xFCller, D. Schmidt, C. S. Xu, S. Pang, J. V. D'Costa, S. Kretschmar,\
Expand Down Expand Up @@ -44,6 +44,6 @@ tags:
- segmentation
- annotation
- analysis
timestamp: '2024-03-06T21:38:59.563153'
timestamp: '2024-03-18T13:57:07.265027'
title: 'CellSketch: Run spatial analysis'
version: 0.2.1
version: 0.2.2

0 comments on commit cf8e6a4

Please sign in to comment.