Skip to content

Commit aeb1416

Browse files
Merge pull request #546 from jungmannlab/development
v0.8.5 - Sound notifications when long processes finish, see `here <https://picassosr.readthedocs.io/en/latest/others.html>`_ - Several dialogs in Render, Localize and Simulate are now scrollable (*experimental*) - SPINNA fix automatic area detection from picked localizations - Render add dependency ``imageio[ffmpeg]`` for building animations - Render allow for loading pick regions by dropping a .yaml file onto the window - Render improve zooming with mouse wheel (Ctrl/Cmd + wheel) - Fast rendering automatically adjusts constrast - Localize show scale bar function added - Localize plotted ROI remains the same when zooming in/out and panning - Localize Gauss MLE saves number of iterations and fit log-likelihood - DBSCAN accepts min. no. of localizations per cluster - Cluster center calculations calculate arithmetic mean, not weighted mean - Other bug fixes and minor improvements
2 parents 7d9101f + 82fcb55 commit aeb1416

34 files changed

+937
-445
lines changed

.bumpversion.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[bumpversion]
2-
current_version = 0.8.4
2+
current_version = 0.8.5
33
commit = True
44
tag = False
55
parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)(\-(?P<release>[a-z]+)(?P<build>\d+))?

.gitignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,15 @@ wheels/
2828
# Plugins
2929
picasso/gui/plugins/
3030

31+
# Sound notifications
32+
resources/notification_sounds/
33+
3134
# Camera configuration
3235
picasso/config.yaml
3336

37+
# One-click-installer output
38+
release/one_click_windows_gui/Output/
39+
3440
# PyInstaller
3541
# Usually these files are written by a python script from a template
3642
# before PyInstaller builds the exe, so as to inject date/other infos into it.

changelog.rst

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,23 @@
11
Changelog
22
=========
33

4-
Last change: 08-SEP-2025 MTS
4+
Last change: 30-SEP-2025 CEST
5+
6+
0.8.5
7+
-----
8+
- Sound notifications when long processes finish, see `here <https://picassosr.readthedocs.io/en/latest/others.html>`_
9+
- Several dialogs in Render, Localize and Simulate are now scrollable (*experimental*)
10+
- SPINNA fix automatic area detection from picked localizations
11+
- Render add dependency ``imageio[ffmpeg]`` for building animations
12+
- Render allow for loading pick regions by dropping a .yaml file onto the window
13+
- Render improve zooming with mouse wheel (Ctrl/Cmd + wheel)
14+
- Fast rendering automatically adjusts constrast
15+
- Localize show scale bar function added
16+
- Localize plotted ROI remains the same when zooming in/out and panning
17+
- Localize Gauss MLE saves number of iterations and fit log-likelihood
18+
- DBSCAN accepts min. no. of localizations per cluster
19+
- Cluster center calculations calculate arithmetic mean, not weighted mean
20+
- Other bug fixes and minor improvements
521

622
0.8.4
723
-----

distribution/picasso.iss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
AppName=Picasso
33
AppPublisher=Jungmann Lab, Max Planck Institute of Biochemistry
44

5-
AppVersion=0.8.4
5+
AppVersion=0.8.5
66
DefaultDirName={commonpf}\Picasso
77
DefaultGroupName=Picasso
8-
OutputBaseFilename="Picasso-Windows-64bit-0.8.4"
8+
OutputBaseFilename="Picasso-Windows-64bit-0.8.5"
99
ArchitecturesAllowed=x64
1010
ArchitecturesInstallIn64BitMode=x64
1111

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
# The short X.Y version
2727
version = ""
2828
# The full version, including alpha/beta/rc tags
29-
release = "0.8.4"
29+
release = "0.8.5"
3030

3131
# -- General configuration ---------------------------------------------------
3232

docs/files.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ In MATLAB, execute the command ``locs = h5read(filename, dataset)``. Replace dat
2727

2828
In Origin, select ``File > Import > HDF5`` or drag and drop the file into the main window.
2929

30-
Picasso uses ``h5py``. To load localizations, Picasso uses the function ``load_locs(filename)``` located in the ``io.py`` package of Picasso.
30+
Picasso uses ``h5py``. To load localizations, Picasso uses the function ``load_locs(filename)`` located in the ``io.py`` package of Picasso.
3131

3232
Localization HDF5 Files
3333
-----------------------

docs/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ This documentation is based on the `Nature Protocols publication <https://www.na
2626
postprocessing
2727
nanotron
2828
plugins
29+
others
2930
faq
3031

3132
Indices and tables

docs/others.rst

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
=====
2+
Other
3+
=====
4+
5+
Sound notifications
6+
-------------------
7+
Starting in version 0.8.5, Picasso supports sound notifications. In Render and SPINNA, these can be selected in the ``File`` menu in the menu bar. The available files are read from the ``resources/notification_sounds`` folder. ``.mp3`` and ``.wav`` files are supported. Default sound notification is saved automatically when manually changed.
8+
9+
Custom notifications
10+
~~~~~~~~~~~~~~~~~~~~
11+
To add custom notification sounds, copy the sound files (``.mp3`` or ``.wav``) to the ``resources/notification_sounds`` folder. Depending on how you installed Picasso, this folder can be found in different locations:
12+
13+
GitHub
14+
------
15+
If you cloned the GitHub repository, you can add sound notifications by following these steps:
16+
17+
- Find the directory where you cloned the GitHub repository with Picasso.
18+
- Go to ``picasso/resources/notification_sounds``.
19+
- Copy the sound files to this folder.
20+
21+
PyPI
22+
----
23+
If you installed Picasso using ``pip install picassosr``, you can add sound notifications by following these steps:
24+
25+
- To find the location of the environment where ``picassosr`` is installed, type ``conda env list``.
26+
- If your environment can be found under ``YOUR_ENVIRONMENT``, go to ``YOUR_ENVIRONMENT/Lib/site-packages/picasso/resources/notification_sounds``.
27+
- Copy the sound files to this folder.
28+
29+
One click installer
30+
-------------------
31+
If you installed Picasso using the one click installer from `the Picasso release page <https://github.com/jungmannlab/picasso/releases/>`__ , you can add sound notifications by following these steps:
32+
33+
- Find the location where you installed Picasso. By default, it is ``C:/Picasso``.
34+
- Go to the following subfolder in the `Picasso` directory: ``picasso/resources/notification_sounds``.
35+
- Copy the sound files to this folder.

docs/plugins.rst

Lines changed: 18 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -4,34 +4,35 @@ Plugins
44

55
Usage
66
-----
7-
Starting in version 0.5.0, Picasso supports plugins. Please find the instructions on how to add them to your Picasso below.
7+
Starting in version 0.5.0, Picasso supports plugins. Below are the instructions on how to install them.
88

9-
Please keep in mind that the ``__init__.py`` file in the ``picasso/picasso/gui/plugins`` folder must not be modified or deleted.
9+
*Keep in mind that the* ``__init__.py`` *file in the* ``picasso/picasso/gui/plugins`` *folder must not be modified or deleted.*
1010

11-
GitHub
12-
~~~~~~
13-
If you cloned the GitHub repository, you can add plugins by following these steps:
14-
- Find the directory where you cloned the GitHub repository with Picasso.
15-
- Go to ``picasso/picasso/gui/plugins``.
11+
One click installer
12+
~~~~~~~~~~~~~~~~~~~
13+
**NOTE**: After uninstalling Picasso, ``Picasso`` folder needs to be deleted manually, as the uninstaller currently does not remove the plugins automatically.
14+
15+
- Find the location where you installed Picasso. By default, it is ``C:/Picasso``. *Before version 0.8.3, the default location was* ``C:/Program Files/Picasso``.
16+
- Then go to the folder ``picasso/gui/plugins``.
1617
- Copy the plugin(s) to this folder.
1718

19+
**NOTE**: Plugins added in this distribution will not be able to use packages that are not installed automatically (from the file ``requirements.txt``).
20+
1821
PyPI
1922
~~~~
2023
If you installed Picasso using ``pip install picassosr``, you can add plugins by following these steps:
21-
- To find the location of the environment where ``picassosr`` is installed, type ``conda env list``.
22-
- If your environment can be found under ``YOUR_ENVIRONMENT``, go to ``YOUR_ENVIRONMENT/Lib/site-packages/picasso/gui/plugins``.
24+
- Activate your conda environment where ``picassosr`` is installed by typing ``conda activate YOUR_ENVIRONMENT``.
25+
- To find the location of the package, type ``pip show picassosr`` and look for the line starting with ``Location:``.
26+
- Navigate to this location and go to ``picasso/gui/plugins``.
2327
- Copy the plugin(s) to this folder.
2428

25-
One click installer
26-
~~~~~~~~~~~~~~~~~~~
27-
**NOTE**: After deinstalling Picasso, ``Program Files/Picasso`` folder needs to be deleted manually, as the uninstaller currently does not remove the plugins automatically.
28-
29-
- Find the location where you installed Picasso. By default, it is ``C:/Program Files/Picasso``.
30-
- Go to the following subfolder in the `Picasso` directory: ``picasso/gui/plugins``.
29+
GitHub
30+
~~~~~~
31+
If you cloned the GitHub repository, you can add plugins by following these steps:
32+
- Find the directory where you cloned the GitHub repository with Picasso.
33+
- Go to ``picasso/picasso/gui/plugins``.
3134
- Copy the plugin(s) to this folder.
3235

33-
.. **NOTE**: Plugins added in this distribution will not be able to use packages that are not installed automatically (from the file ``requirements.txt``).
34-
3536
For developers
3637
--------------
3738
To create a plugin, you can use the template provided in ``picasso/plugin_template.py``, see below.

docs/spinna.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ Plotting
9595
- *Plot settings* opens a new dialog that allows the user to show/hide plot legend, adjust the histogram bin size and min. and max. plotted distances, among others, see below.
9696

9797
.. image:: ../docs/spinna_nnd_plot_settings.png
98+
:scale: 40 %
9899
:alt: nnd_plot_settings
99100

100101
If the loaded structures include several molecular target species, several NND histograms are plotted, one for each pair of molecular target species which can be explored by clicking left and right arrows in the *Plotting* box.

0 commit comments

Comments
 (0)