Skip to content

Fix imsave#34

Merged
ercius merged 2 commits into
mainfrom
fix_imsave
Aug 12, 2025
Merged

Fix imsave#34
ercius merged 2 commits into
mainfrom
fix_imsave

Conversation

@ercius

@ercius ercius commented Aug 12, 2025

Copy link
Copy Markdown
Owner

This removes the limit on the tifffile version identified in #31 and uses tiffifle.imwrite instead. It also fixes a small bug where the real space image suffix was not checked for .tif.

@ercius ercius merged commit abd9048 into main Aug 12, 2025
3 checks passed
@ercius ercius deleted the fix_imsave branch August 12, 2025 17:49
ercius added a commit that referenced this pull request Aug 12, 2025
* Klever update (#26)

* these are all Klever's final changes

* add venv and other directoires to gitignore

* Update pyproject.toml

bump to v1.1 before new release

* Klever update 2 (#27)

* these are all Klever's final changes

* add venv and other directoires to gitignore

* Adjusted the code slightly to fix scale bar issues.

* Beam center update (#28)

* Fix missing ) and change comments

* Change the beam centering to row/col rather than x/y. This keeps the convention the same within DuSC. For exmaple, the corner of a ROI box is printed in the status bar as row/col.

* change the beam center in the other lines

* synchronize metadata and remove hard coding

* Final clean up

---------

Co-authored-by: Peter Ercius ncem-gauss jupyter <percius.lbl.gov>

* remove hard coded frame dimensions (#29)

Co-authored-by: Peter Ercius ncem-gauss jupyter <percius.lbl.gov>

* bump version for release

* ensure non-ragged array is uint32 dtype (#30)

Co-authored-by: Peter Ercius ncem-gauss jupyter <percius.lbl.gov>

* Bump version to fix jit typing issue.

* Update README.md

Update code lines.

Link to the tutorial

Link to example data sets in Zenodo

* user older titfffile version (v2025.1.10) to avoid deprecation issue. (#32)

* user older titfffile version (v2025.1.10) to avoid deprectaion issue.

* bump version

---------

Co-authored-by: Peter Ercius ncem-gauss jupyter <percius.lbl.gov>

* remove old code

* Fix imsave (#34)

* Use tifffile imwrite instead of imsave. Check for file extension in real space file write.

* remove limit on tifffile version and bump dusc version

---------

Co-authored-by: Peter Ercius ncem-gauss jupyter <percius.lbl.gov>

---------

Co-authored-by: Klever2003 <157851065+Klever2003@users.noreply.github.com>
Co-authored-by: Peter Ercius ncem-gauss jupyter <percius.lbl.gov>
@ercius ercius mentioned this pull request Aug 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant