Repository navigation
2026.05.06
Contributors: Chris Barnes, Dan Bumbarger, Albert Cardona, Andrew Champion, Rob Court, Stephan Gerhard, Pat Gunn, Tom Kazimiers, Mohinta2892
Full Changelog: 2021.12.21...2026.05.06
Notes
-
This version requires Python 3.9+. Python 3.10 is recommended.
-
Postgres 14+ is now supported.
-
The version requires PostgreSQL 13+ and PostGIS 3.1+. If you need or want to
upgrade Postgres, update PostGIS first and runALTER EXTENSION postgis UPDATE;in every existing database in the cluster that should be upgraded.
Fordocker-composesetups this database update is performed automatically if
DB_UPDATE=trueis set for thedbcontainer (watch the Docker output) in
the configuration file. CATMAID's documentation Docker has more information.
If a replication setup is in use, the database configuration changes for
Postgres 13. CATMAID's replication documentation explains what needs to be
done. To benefit from Postgres 13's new index deduplication, run REINDEX in
the CATMAID database. This might take up to an hour, but can reduce the space
and memory needs of CATMAID's database indexes by 30-50%. -
Should you have
supervisorconfigured to runCelery, newer Celery
versions might show a DatabaseError about threads. To fix this, add the
numprocs = 1option to you supervisor config for Celery. -
CATMAID's version is now reported slightly differently, in line with PEP440.
If you are using a release version, nothing will have changed.
Development versions are now reported as{release}.dev{commits}+g{hash},
where previously they were{release}-{commits}-g{hash}. -
CATMAID's dependencies (including extras associated with optional features)
can now be installed using pip: usepip install path/to/CATMAID/django[production,async,optional] -
virtualenvwrapper is no longer recommended, preferring the standard
python -m venv
Features and enhancements
Data sources:
-
A new tile source has been added: Neuroglancer Precomputed data, with ID 14.
This image block source works very similar to the N5 tile source. At the
moment only GZip and JPEG compression is supported. Sharded datasets can be
loaded. In order for the voxel space coordinates to match between CATMAID and
Neuroglancer, if the Neuroglancer dataset defines a voxel offset, the
respective CATMAID stack needs to have its zoom-level zero voxel offset
defined in the stack meta data in the admin view, e.g.{"voxelOffset": [-3072, -3072, 0]}. -
Neuroglancer Precomputed URLs that start with
gs://are rewritten on the fly
to use Google Cloud storage get API requess, improving CORS support.
Painting tool:
- A new tool allows to create per-user N5 files by painting on the dataset. This
tool needs to be enabled for users that should have it available (admin
interface).
Cropping tool:
- Neuroglancer Precomputed datasets (sharded and unsharded) are now supported
and can be used extract sub-volumes.
Connector types:
-
A new connector has been added to link mitochondria to cells. It can be used
through the connector type selection menu with + Click. -
The mitochondria connector can currently be used in the Connectivity Widget,
the 3D Viewer and the Morphology plot.
Neuron similarity widget:
- The 'Create built-in matrix' button in the Configurations tab allows to create
a new configuration based on the one suggested for the adult fly brain in the
original NBLAST publication. The UI allows to adjust dot and distance breaks
as well as an easy way to add an optional scale factor.
Tracing data cache:
- The management command
catmaid_update_cache_tablescan now remove existing
caching data when updating the cache from thesettings.pyconfiguration. To
do so, pass both the--from-cacheand the--cleanparameter in.
Landmark widget:
-
The list of transformed skeletons in the landmark widget is now shown in a
short form that only shows how many skeletons are in the transformed set.
Clicking the skeleton set entry will open a Selection Table with all skeletons
in the set. -
Each transformation in the list of active display transformation comes now
with a "Re-use" button in the last column. This pre-populates the controls for
a new transformation according to the transformation of the respective table
row. The following fields are updated: source remote, source project, source
group, target group, transform model. -
It is now possible to edit the list of transformed skeletons with the help of
the new edit button right next to the skeleton set entry. A dialog will ask
for a skeleton source to pull neurons from. -
If the source is a project other than the current one, and no target group has
been selected yet, selecting a source group will auto-select any target group
with the same name. -
The input field for remote neuron annotations now supports autocompletion with
all available annotations from the remote project. -
The new column "Matches" in the table of active display transformations shows
for each mapping the set of matching (by name) landmarks. -
The view to crate new display transformations (Display tab) now shows
information on matches between the selected source and target group(s) during
transformation creation. Both the matches by name and the point matches are
shown as a line above the "Add transformation" button. -
The transform table now also has an optional "Point Matches" column, which
shows the coordinates of all used point matches. It can be shown by enabling
the "Detailed match info" check box in the Display tab controls. This column
shows all used point matches in the form of "Source point - Target point"
entries. When clicking on a target location in the point matches column, the
view will now jump to the respective location. This is currently only
implemented for the target location, not the source. -
Each created transform can now be exported as a JavaScript function by
clicking the "Export JS" button. This will create a transform() function that
takes a [x, y, z] array and returns a transformed point [x', y', z']. The
function is provided as a JavaScript file, is printed to console and copied to
clipboard. This is useful for debugging transformations. -
The list of actually used landmarks of the set of matching landmarks in a
transform can be edited. By clicking the "edit" button next to the list of
name matches of a transform, a dialog allows to select the landmarks that ere
used. The transform table reflects changes made here and so do the 3D Viewer
and the Landmark Layer. This makes indentifying problematic landmarks much
quicker. -
A "Normalize names" button is added to the Landmarks tab. This button will
instruct the back-end to ensure all landmark names and landmark group names
don't have any leading or trailing whitespace.
Stack viewer:
-
WebGL layers can now define a so called blending window through the layer
settings. It allows to define a window in terms of layers around the current
section for which a blending operation can be selected. This makes it possible
to have e.g. minimum intensity projection of the next 10 layers. -
Initial loading should now be faster, because repeated redraws are now
prevented. This is especially noticable with block data. -
Custom mirrors can now be edited and support image block sources like N5 or
Neuroglancer Precomputed.
3D viewer:
-
Spatial select now visualizes the currently set selection radius by placing a
transparent sphere at the active node location. It is update when the value is
changed. -
The View tab now contains an input field for the focal length of the camera.
It can be used to estimate the field of view, assuming a film gauge of 35mm
(currently not adjustable). -
Picking (Shift + Click) of volumes/meshes works again.
Graph widget:
- A new view tab contains now settings related to the graph display and
interaction with it. It contains settings like mouse wheel sensitivity.
Data views:
-
Back-end rendered data views like "Project table with images" can now render
preview images for stacks with tile source type 5. -
For the "Spaces and resources" view, the stack used for the sample image can
now be configured using the "sample_stack_index" parameter. -
Stacks are now explicitly returned and rendered in order they are linked to
projects (projects/ API).
Measurement widget:
- A new column is added, which shows the estimated volume based on the available
radius information. The volume is computed by simply adding all volumes of the
cylinders and cones formed around each edge. To make interpretation of that
number easier, a percentage is shown as well for each entry that reflects how
many nodes of the respective skeleton have a radius assigned.
Review widget:
- Deleting a treenode when the skeleton is under review in the Review Widget
will cause the Review Widget to refresh its segment representation and move to
the next possible node.
3D Viwer:
- Displayed landmark groups are now reloaded if they change (e.g. in the
Landmark Widget).
Log/history widget:
- Each entry in the list of transactions in the History tab has now a button to
show all (historic) skeleton IDs involved with this transaction. Depending on
the transaction label this can be different things (e.g. all linked skeletons
in a connector removal.
Treenode table:
- Node filters can now be added. Node filters can be managed like in other
widgets: by blicking the funnel icon in the widget's title bar. Node filters
allow to constrain further what nodes are shown in the treenode table.
Import/Export widget:
-
The treenode archive creation dialog allows now also to specify the Z radius.
This allows to export an image block for each treenode. -
The ZIP files generated by the treenode archive export contain now two
metadata files: nodes.csv and metadata.json. The first one was called
metadata.csv before. The second one is new and contains information on the
project, stacks and exporting user. -
Importing skeletons from a remote CATMAID server using annotations doesn't
raise an error about a missing function anymore.
Miscellaneous:
-
The built-in API docs (/apis endpoint) now supports deep links, which allows
linking to individual APIs. -
Deep links can now optionally be created by users/groups without
Annotate/Write permissions. In order to allow this give this user/group the
new CreateDeepLinks permission. This can be used to e.g. give anonymous users
the ability to create deep links. -
Pasting a list with more than three entries into the quick find text box in
the upper right corner of the Tracing Tool will now open a Selection Table and
attempt to load all entries as skeleton IDs. -
When executing a UI command that can be handled in multiple ways (e.g. as a
coordinate or a list of skeleton IDs), a small dialog is now shown that allows
users to select which option to use. -
The management command
catmaid_update_cache_tablescan now recompute grid
cache configurations as well that are defined in theNODE_PROVIDERS
setting. -
The dialog to add new annotations now shows the names of all target neurons.
This will usually be a single neuron, but sometimes can be multiple as well. -
The API authentication token for anonymous access can now be displayed from
the UI through the new user menu, accessible through the text left to the
login text fields. -
For remote logins the API token is shown without password confirmation,
because users usually don't know the local user's password. -
Loading of skeleton morphology, e.g. when appending data to the 3D Viewer, can
now be canceled. -
The warning shown when closing the browser tab is now only shown if a project
is loaded. It won't be displayed anymore when simply the front page is opened
without a project being loaded. -
The import/export widget now can export treenode archives and connector
archives as multipage TIFF files. -
Admin: the tool "Import annotations and tracing data" has been renamed to
"Import/copy/transform tracing data". It now uses the same logic as the managmenet
commands catmaid_export_data and catmaid_import_data, which are well tested.
With this tool is possible to clone existing projects, including tracing data,
and transform all location data in the process using a CSV file.
Bug fixes
-
Neuron Search: neurons that don't have any annotations are now returned as
well, when neurons NOT having an annotation are queried. -
Neuron Search: the CSV export respects now the neuron display names
(NeuronNameManager) and export them instead of the fixed neuron name. -
Deep links: creating links to layouts with a loaded stack group (e.g. ortho
views or multi-channel images) won't raise an error anymore. -
Volume manager: exported volumes now uses the volume name as default file
name, not showing "undefined" anymore. -
Node cache updated work now also for node deletions and is now only queued for
the cache objects in the referenced project (rather than all). Various other
problems where fixed as well with the worker classes. -
Connectivity widget: fix error when changing page length
-
Venn diagram widget: all selections are cleared when clicking on the
background. -
NBLAST computation: avoid crash when set of not cached target DPS objects is
None. -
The navigate-with-project setting of a stack viewer is now respected in
stored layouts. -
Clicking the Home link in the upper left corner with a project open, will now
also ask for confirmation (like clicking any data view entry in the menu). -
Cropping tool: in some exported sub volumes a black border of one or two
pixels could appear on the right side and the bottom. This is fixed now and
the entire space of the exported image is used correctly. -
Cropping: tool: exported TIFF files now also include the project ID and title
in their metadata entries. -
Review widget: fast reviewing using the W key sometimes raised an error
regarding a missing intersection. This is fixed now (#2296) -
The scripts/data/serve-directory.py script has been fixed to work with more
recent Python versions. -
Block image datasets like N5 or Neuroglancer now don't lead to errors anymore
when their size isn't anymore a multiple of the block size. -
Restoring saved stack layer settings: a UI hang-up with fixed, caused by
endlessly switching mirrors to a non-existent mirror ID. -
Treenode/connector export: the X, Y and Z radius now properly limit the width
and height of the image. Before, the maximum X, Y and Z was short one pixel. -
Export/import management commands: reviews are now exported/imported as well.
Maintenance updates
-
Node distance measurements: computation of straight line distance has been
fixed. (#2193) -
3D confirmation dialog: focusing on single nodes works again. Previously the
wrong node location was used. -
API docs: API parameters and descriptions are now visible again in the /apis
docs endpoint. -
A key event error about the missing function getModifierState is fixed.
-
Fix error on link creation with key shortcut help open.
-
Landmark widget: the remote annotation preview is fixed.
-
Landmark widget: remote transformations can be added again.
-
Landmark widget: landmark edit buttons are now easier to read and single
clicks on a landmark name take the view now to their location. -
WebSockets: fix websocket message sending from Celery tasks
-
Image cropping: using rotations for cropped images works now as expected again
-
User registration: fix URL matching error
-
Project management widget: include all visible users in permission list
-
Connectivity widget: fix repeated 'syn count' header label in partner tables
if 1000+ query skeletons are added to the widget. -
Morphology plot: fix radial density of output synapses.
New Contributors
- @Cervidellus made their first contribution in #2278
- @Mohinta2892 made their first contribution in #2304
API changes
Additions
- GET
/{project_id}/useranalytics/data:
Retrieve raw data on user contribution times
Modifications
None.
Deprecations
None.
Removals
None.