You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
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``.
Copy file name to clipboardExpand all lines: docs/plugins.rst
+18-17Lines changed: 18 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,34 +4,35 @@ Plugins
4
4
5
5
Usage
6
6
-----
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.
8
8
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.*
10
10
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``.
16
17
- Copy the plugin(s) to this folder.
17
18
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
+
18
21
PyPI
19
22
~~~~
20
23
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``.
23
27
- Copy the plugin(s) to this folder.
24
28
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``.
31
34
- Copy the plugin(s) to this folder.
32
35
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
-
35
36
For developers
36
37
--------------
37
38
To create a plugin, you can use the template provided in ``picasso/plugin_template.py``, see below.
Copy file name to clipboardExpand all lines: docs/spinna.rst
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -95,6 +95,7 @@ Plotting
95
95
- *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.
96
96
97
97
.. image:: ../docs/spinna_nnd_plot_settings.png
98
+
:scale:40 %
98
99
:alt:nnd_plot_settings
99
100
100
101
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