Skip to content

Commit 3446fd6

Browse files
committed
release: updates for looptrace v0.18.0
1 parent 4443d3c commit 3446fd6

9 files changed

Lines changed: 17 additions & 10 deletions

File tree

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7+
## [v0.6.0] - 2026-04-19
8+
9+
### Changed
10+
* Update expected files and columns list for compatibility with new `looptrace` release, version 0.18.0.
11+
712
## [v0.5.8] - 2025-11-04
813

914
### Changed

docs/using-the-plugin.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ Some spots are labeled:
3939
### Necessary data files
4040
1. 1 ZARR per field of view you wish to view, named like `P0001.zarr`
4141
1. 0 or 1 files of each of the following types, per field of view, organized into a folder that has the same field of view name as the ZARR, e.g. `P0001`. There must be at least 1 of these 3 files present:
42-
- A `*_rois.merge_contributors.csv` file: ROIs initially detected which were then merged together to create a new ROI
42+
- A `*_rois.merge_or_discard_contributors.csv` file: ROIs initially detected which were then merged together to create a new ROI
4343
- A `*_rois.proximity_rejected.csv` file: ROIs which were discarded due to proximity to another ROI
4444
- A `*_rois.with_trace_ids.csv` file: ROIs after proximity-based filtration and labeling attribution to nuclei
4545

@@ -55,10 +55,10 @@ Some spots are labeled:
5555
* The channel is read from the `channel` column.
5656
* For the merge contributors file, the `mergeOutput` column is parsed to get the ID of the merge result.
5757
* For the `*_rois.with_trace_ids.csv` file, the following additional columns are parsed:
58-
* `mergePartners` (to tell singleton ROIs from merger output ROIs)
58+
* `neighbors` (to tell singleton ROIs from merger output ROIs)
5959
* `nucleusNumber` (to tell nuclear from non-nuclear ROIs)
6060
* `traceId` (to label ROIs which participate in a multi-ROI trace)
61-
* `tracePartners` (to determine whether a ROI participates in a multi-rOI trace)
61+
* `tracePartners` (to determine whether a ROI participates in a multi-ROI trace)
6262

6363
### Customizability
6464
* `LOOPTRACE__DISPLAY_SINGLETON_ROI_IDS` can be used to indicate that any singleton ROI should have its ID displayed.

looptrace_regionals_vis/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
from numpydoc_decorator import doc # type: ignore[import-untyped]
1212

13-
__version__ = "0.5.8"
13+
__version__ = "0.6.0"
1414

1515
_PACKAGE_NAME = package = Path(__file__).parent.name
1616

looptrace_regionals_vis/examples/P0001_rois.merge_contributors.csv renamed to looptrace_regionals_vis/examples/P0001_rois.merge_or_discard_contributors.csv

File renamed without changes.

looptrace_regionals_vis/examples/P0001_rois.with_trace_ids.csv

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
index,fieldOfView,timepoint,spotChannel,zc,yc,xc,intensityMean,zMin,zMax,yMin,yMax,xMin,xMax,mergePartners,nucleusNumber,traceId,tracePartners
1+
index,fieldOfView,timepoint,spotChannel,zc,yc,xc,intensityMean,zMin,zMax,yMin,yMax,xMin,xMax,neighbors,nucleusNumber,traceId,tracePartners
22
3,P0001.zarr,79,0,16.527137137619988,422.5165732477932,667.2129969610728,157.0530303030303,10.527137137619988,22.527137137619988,410.5165732477932,434.5165732477932,655.2129969610728,679.2129969610728,100 101,3,13,5
33
4,P0001.zarr,79,0,16.950424004488077,118.88259896330818,349.6540530977019,161.81065410400436,10.950424004488076,22.95042400448808,106.88259896330818,130.88259896330817,337.6540530977019,361.6540530977019,,2,14,
44
5,P0001.zarr,79,0,18.177805530982404,445.4564669785048,607.9657421380375,160.33961681087763,12.177805530982404,24.177805530982404,433.4564669785048,457.4564669785048,595.9657421380375,619.9657421380375,,3,13,3

looptrace_regionals_vis/napari.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ contributions:
77
readers:
88
- command: looptrace-regionals-vis.read_looptrace_regional_points
99
filename_patterns:
10-
- '*_rois.merge_contributors.csv'
10+
- '*_rois.merge_or_discard_contributors.csv'
1111
- '*_rois.proximity_rejected.csv'
1212
- '*_rois.with_trace_ids.csv'
1313
accepts_directories: true

looptrace_regionals_vis/reader.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
class InputFileContentType(Enum):
4444
"""The processing steps undergone by data in a file or in memory"""
4545

46-
MergeContributors = ".merge_contributors.csv"
46+
MergeContributors = ".merge_or_discard_contributors.csv"
4747
ProximityRejects = ".proximity_rejected.csv"
4848
NucleiLabeled = ".with_trace_ids.csv"
4949

@@ -435,7 +435,7 @@ def _parse_nucleus_labeled_record(
435435
None if raw_nuc_num == 0 else NucleusNumber(raw_nuc_num)
436436
)
437437

438-
merge_column_name = "mergePartners"
438+
merge_column_name = "neighbors"
439439
id_and_contribs: Optional[IdAndContributors]
440440
raw_merge_indices = record[merge_column_name]
441441
if raw_merge_indices is None or raw_merge_indices == "" or pd.isna(raw_merge_indices):

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "looptrace-regionals-vis"
3-
version = "0.5.8"
3+
version = "0.6.0"
44
description = "This project facilitates viewing, in `napari`, regional spots from `looptrace`."
55
authors = ["Vince Reuter"]
66
license = "MIT"

tests/test_file_type_inference.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,11 @@ def test_from_filepath_requires_path(arg):
6868
("", ".proximity_rejected.nuclei_labeled.csv", None),
6969
("", ".with_trace_ids.csv", None),
7070
("", ".merge_contributors.csv", None),
71+
("", ".merge_or_discard_contributors.csv", None),
7172
("_rois", "", None),
7273
("_rois", ".CSV", None),
73-
("_rois", ".merge_contributors.csv", InputFileContentType.MergeContributors),
74+
("_rois", ".merge_contributors.csv", None),
75+
("_rois", ".merge_or_discard_contributors.csv", InputFileContentType.MergeContributors),
7476
("_rois", ".proximity_rejected.csv", InputFileContentType.ProximityRejects),
7577
("_rois", ".proximity_accepted.csv", None),
7678
("_rois", ".proximity_rejected.nuclei_labeled.csv", None),

0 commit comments

Comments
 (0)