Skip to content

Commit 382a41c

Browse files
Merge pull request #630 from jungmannlab/development
v0.9.9
2 parents 9538c65 + 94a1f73 commit 382a41c

File tree

10 files changed

+20
-13
lines changed

10 files changed

+20
-13
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.9.8
2+
current_version = 0.9.9
33
commit = True
44
tag = False
55
parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)(\-(?P<release>[a-z]+)(?P<build>\d+))?

changelog.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ Changelog
33

44
Last change: 10-MAR-2026 CEST
55

6-
0.9.8
7-
-----
6+
0.9.8-9
7+
-------
88
Small improvements:
99
+++++++++++++++++++
1010
- Added a function ``picasso.lib.get_save_filename_ext_dialog`` that can also check for the existence of the files with other extenstions (for example, if the user tries to save a .yaml file with the same name as an existing .hdf5 file, it will ask if the user wants to overwrite the .hdf5 file). This is implemented in all GUI modules when saving files.
@@ -28,6 +28,7 @@ Small improvements:
2828

2929
Bug fixes:
3030
++++++++++
31+
- Fixed 3D multichannel rendering
3132
- Fixed Picasso Server launching in one-click-installers
3233
- Fixed 3D MLE fitting and cleaned the docstrings for better readability (``picasso.gaussmle``)
3334
- Fixed how Picasso: Simulates splits photons across binding events

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.9.8
5+
AppVersion=0.9.9
66
DefaultDirName={commonpf}\Picasso
77
DefaultGroupName=Picasso
8-
OutputBaseFilename="Picasso-Windows-64bit-0.9.8"
8+
OutputBaseFilename="Picasso-Windows-64bit-0.9.9"
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.9.8"
29+
release = "0.9.9"
3030

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

picasso/gui/rotation.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -744,13 +744,19 @@ def load_locs(self, update_window=False):
744744
0
745745
] # only one pick, take the first element
746746
temp["z"] /= self.pixelsize
747-
temp["z"] -= temp["z"].mean()
748747
# same for lpz if present
749748
if "lpz" in temp.columns:
750749
temp["lpz"] /= self.pixelsize
751750
self.locs.append(temp)
752751
self.infos.append(self.window.window.view.infos[i])
753752

753+
# shift z positions of locs so that the middle of the dataset is
754+
# at z = 0
755+
all_locs_z = np.concatenate([_["z"].to_numpy() for _ in self.locs])
756+
z_shift = all_locs_z.mean()
757+
for i in range(n_channels):
758+
self.locs[i]["z"] -= z_shift
759+
754760
# assign self.group_color if single channel and group info
755761
# present
756762
if len(self.locs) == 1 and "group" in self.locs[0].columns:

picasso/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "0.9.8"
1+
__version__ = "0.9.9"

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "picassosr"
7-
version = "0.9.8"
7+
version = "0.9.9"
88
authors = [
99
{name = "Joerg Schnitzbauer", email = "joschnitzbauer@gmail.com"},
1010
{name = "Maximilian T. Strauss", email = "straussmaximilian@gmail.com"},

release/one_click_macos_gui/create_macos_dmg.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ set -e # Exit immediately on any error
1212
eval "$(conda shell.bash hook)"
1313

1414
APP_NAME="Picasso"
15-
VERSION="0.9.8"
15+
VERSION="0.9.9"
1616
MAIN_BUNDLE_NAME="Picasso.app"
1717
DMG_NAME="Picasso-v$VERSION-macOS-Apple-Silicon"
1818
PYINSTALLER_FILE="../pyinstaller/picasso_pyinstaller.py"

release/one_click_windows_gui/create_installer_windows.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ call conda activate picasso_installer
1010
call pip install build
1111
call python -m build
1212

13-
call pip install "dist/picassosr-0.9.8-py3-none-any.whl"
13+
call pip install "dist/picassosr-0.9.9-py3-none-any.whl"
1414
call cd release/one_click_windows_gui
1515

1616
call pip install pyinstaller==6.19.0

release/one_click_windows_gui/picasso_innoinstaller.iss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
[Setup]
22
AppName=Picasso
33
AppPublisher=Jungmann Lab, Max Planck Institute of Biochemistry
4-
AppVersion=0.9.8
4+
AppVersion=0.9.9
55
DefaultDirName="C:\Picasso"
66
DefaultGroupName=Picasso
7-
OutputBaseFilename="Picasso-Windows-64bit-0.9.8"
7+
OutputBaseFilename="Picasso-Windows-64bit-0.9.9"
88
ArchitecturesAllowed=x64
99
ArchitecturesInstallIn64BitMode=x64
1010

0 commit comments

Comments
 (0)