diff --git a/CHANGELOG.md b/CHANGELOG.md index 16165fd..501ef40 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,11 @@ 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.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [v0.2.3] - 2024-11-27 + +### Changed +* Change example and test to match what will now come from `looptrace` v0.11 + ## [v0.2.2] - 2024-11-21 ### Changed diff --git a/looptrace_loci_vis/__init__.py b/looptrace_loci_vis/__init__.py index eb9989c..cdb1f38 100644 --- a/looptrace_loci_vis/__init__.py +++ b/looptrace_loci_vis/__init__.py @@ -1,3 +1,3 @@ """Napari plugin for visualising locus-specific points from looptrace""" -__version__ = "0.2.2" +__version__ = "0.2.3" diff --git a/looptrace_loci_vis/examples/P0001.qcfail.csv b/looptrace_loci_vis/examples/P0001.qcfail.csv index 3b1e1ad..13d2089 100644 --- a/looptrace_loci_vis/examples/P0001.qcfail.csv +++ b/looptrace_loci_vis/examples/P0001.qcfail.csv @@ -1,10 +1,10 @@ 0,13,5.880338307654485,12.20211975317036,10.728294496728491,S -0,17,10.594366532607864,10.95875680073854,20.711938561802768,R;S;xy;z +0,17,10.594366532607864,10.95875680073854,20.711938561802768,R S xy z 0,47,10.198132167665957,14.398450914314138,15.378219719077295,R -0,48,0.7173811741523715,13.999908344240598,2.011625563698183,R;z +0,48,0.7173811741523715,13.999908344240598,2.011625563698183,R z 0,49,6.274792365451074,14.440034853392085,8.81613597404698,S -0,69,10.03907938905064,18.453449673327853,7.594187495036839,R;S;xy;z +0,69,10.03907938905064,18.453449673327853,7.594187495036839,R S xy z 0,71,8.157075382512406,12.780500232574296,3.1916456736466685,R 0,74,7.03360935199292,15.324188332927145,3.6995859572616823,xy -0,76,2.426576702500344,20.546530442060508,2.151493771689803,R;S;xy;O +0,76,2.426576702500344,20.546530442060508,2.151493771689803,R S xy O 0,77,6.0415531254567885,13.910733825016758,10.238202728231837,S diff --git a/pyproject.toml b/pyproject.toml index 1e5514f..3ff0cb5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -53,12 +53,12 @@ looptrace-loci-vis = "looptrace_loci_vis:napari.yaml" [project.optional-dependencies] formatting = [ "codespell >= 2.2.4", - "ruff >= 0.4.6", + "ruff >= 0.8.0", ] linting = [ "mypy >= 1.0.1", "pandas-stubs", - "ruff >= 0.3", + "ruff >= 0.8.0", ] testsuite = [ "npe2", @@ -128,8 +128,8 @@ ignore = [ # Imports and type annotations "ANN003", # Missing type annotation for kwargs "FA100", # Missing `from __future__ import annotations`, but uses `typing.*` - "TCH002", # Move third-party import `...` into a type-checking block - "TCH003", # Move standard library import `...` into a type-checking block + "TC002", # Move third-party import `...` into a type-checking block + "TC003", # Move standard library import `...` into a type-checking block "UP007", # Use `X | Y` for type annotations # Ruff recommends avoiding these checks when using `ruff format`. Since @@ -164,7 +164,6 @@ ignore = [ # Ignore some groups of checks in our test code. "ANN", # Type annotations "D10", # Missing docstrings - "TCH00", # Imports and type checking blocks "INP001", # File `...` is part of an implicit namespace package. Add an `__init__.py`. # Ignore some more specific checks in our test code. diff --git a/tests/test_locus_points_smoke.py b/tests/test_locus_points_smoke.py index f97f017..658b6b7 100644 --- a/tests/test_locus_points_smoke.py +++ b/tests/test_locus_points_smoke.py @@ -6,14 +6,14 @@ from looptrace_loci_vis.reader import records_to_qcfail_layer_data FAIL_LINES_SAMPLE = """0,13,5.880338307654485,12.20211975317036,10.728294496728491,S -0,17,10.594366532607864,10.95875680073854,20.711938561802768,R;S;xy;z +0,17,10.594366532607864,10.95875680073854,20.711938561802768,R S xy z 0,47,10.198132167665957,14.398450914314138,15.378219719077295,R -0,48,0.7173811741523715,13.999908344240598,2.011625563698183,R;z +0,48,0.7173811741523715,13.999908344240598,2.011625563698183,R z 0,49,6.274792365451074,14.440034853392085,8.81613597404698,S -0,69,10.03907938905064,18.453449673327853,7.594187495036839,R;S;xy;z +0,69,10.03907938905064,18.453449673327853,7.594187495036839,R S xy z 0,71,8.157075382512406,12.780500232574296,3.1916456736466685,R 0,74,7.03360935199292,15.324188332927145,3.6995859572616823,xy -0,76,2.426576702500344,20.546530442060508,2.151493771689803,R;S;xy;O +0,76,2.426576702500344,20.546530442060508,2.151493771689803,R S xy O 0,77,6.0415531254567885,13.910733825016758,10.238202728231837,S """