Skip to content

Commit

Permalink
Version 16.9.0. Python 3.11. Auto titles. Project inspector.
Browse files Browse the repository at this point in the history
  • Loading branch information
cmeyer committed Aug 17, 2023
1 parent 65157f3 commit bf0ae41
Show file tree
Hide file tree
Showing 6 changed files with 52 additions and 22 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ jobs:
python-version: ["3.9", "3.10", "3.11"]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Display Python version
Expand All @@ -36,7 +36,6 @@ jobs:
run: |
pip install -r test-requirements.txt
python -m pip install mypy
python -m pip install flake8
mypy --version
- name: Type Checking
run: |
Expand All @@ -46,7 +45,7 @@ jobs:
run: |
python -m unittest discover -s nion/swift -p '*_test.py'
- name: Upload Artifacts
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
if: matrix.os == 'ubuntu-latest' && matrix.python-version == '3.9'
with:
name: distribution
Expand All @@ -55,7 +54,7 @@ jobs:
uses: pypa/gh-action-pypi-publish@release/v1
if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags') && matrix.os == 'ubuntu-latest' && matrix.python-version == '3.9'
with:
skip_existing: true
skip-existing: true
user: __token__
password: ${{ secrets.pypi_password }}
- name: Set up Miniconda for conda-build
Expand All @@ -74,5 +73,5 @@ jobs:
conda update -n base --all -y
conda update --all -y
conda install conda-build anaconda-client -y
conda build -c nion --skip-existing --user nion --token ${{ secrets.anaconda_token }} ..
conda-build -q -c nion --skip-existing --user nion --token ${{ secrets.anaconda_token }} ..
popd
2 changes: 1 addition & 1 deletion docs/index.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.. _index:

Nion Swift User's Guide (0.16.8)
Nion Swift User's Guide (16.9.0)
================================
Nion Swift is open source scientific image processing software integrating hardware control, data acquisition,
visualization, processing, and analysis using Python. Nion Swift is easily extended using Python. It runs on
Expand Down
33 changes: 33 additions & 0 deletions docs/release_notes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,39 @@ in bug fix releases, we choose to include them for evaluation and feedback. If y
or have feedback about these types of new features, please contact us or file issues at
https://github.com/nion-software/nionswift/issues.

Version 16.9.0 (2023-08-17)
---------------------------
* Internal changes for stability and performance.
* Add Python 3.11 support. Drop 3.8.
* `#971 <https://github.com/nion-software/nionswift/issues/971>`_ Apply mapped operations to all navigable data instead of just collections.
* `#968 <https://github.com/nion-software/nionswift/issues/968>`_ Fix issue where scale marker could be temporarily incorrect.
* `#970 <https://github.com/nion-software/nionswift/issues/970>`_ Fix issue with GaussianWindow on non-square data.
* `#939 <https://github.com/nion-software/nionswift/issues/939>`_ View to interval on line plot handles special case of no-interval same as double clicking axis.
* `#105 <https://github.com/nion-software/nionswift/issues/105>`_ Add graphic position/shape lock and move to center button to inspector.
* `#959 <https://github.com/nion-software/nionswift/issues/959>`_ Data panel displays collection filter if used.
* Improve performance, eliminate flickering in metadata panel and activity panel.
* `#544 <https://github.com/nion-software/nionswift/issues/544>`_ Improve display pipeline performance.
* `#954 <https://github.com/nion-software/nionswift/issues/954>`_ Add session edit tab to title edit pop-up dialog. Also add action, menu item, key overload (Ctrl+T).
* `#916 <https://github.com/nion-software/nionswift/issues/916>`_ Changed process title format to put processing operation after base title stem.
* `#900 <https://github.com/nion-software/nionswift/issues/900>`_ Implement dynamic titles for processed data items. Changing base title updates dependents.
* `#944 <https://github.com/nion-software/nionswift/issues/944>`_ Fix line plot drawing when plot has drawn segments separated by nans.
* `#952 <https://github.com/nion-software/nionswift/issues/952>`_ Order project lists by load-ability then date.
* `#951 <https://github.com/nion-software/nionswift/issues/951>`_ Show missing projects as 'missing' rather than 'unreadbable' in projects lists.
* `#950 <https://github.com/nion-software/nionswift/issues/950>`_ Include last-used date in projects lists.
* `#949 <https://github.com/nion-software/nionswift/issues/949>`_ Make choose project dialog resizable.
* `#946 <https://github.com/nion-software/nionswift/issues/946>`_ Ensure computations with multiple results reload properly.
* `#930 <https://github.com/nion-software/nionswift/issues/930>`_ Fix error when activity panel would grow too large during dragging graphics.
* Add project items dialog for debugging.
* Improve error handling when computation with error is deleted during execute phase.
* Show ' (Live)' suffix when data is live or dependent on live data.
* Add ability to launch interactive script from API ('window.run_interactive_script').
* Add minor project cleanup/maintenance at startup.
* Fix several numpy warnings.
* Add support for run-script docstring (help text) in Run Script dialog.
* Improve functionality of recent project list when missing projects.
* Add 1d rebin computation.
* Update Facade HardwareSource to match new capabilities in instrumentation-kit.

Version 0.16.8 (2022-12-06)
---------------------------
* `#904 <https://github.com/nion-software/nionswift/issues/904>`_ Session data is once again persistent between restarts.
Expand Down
12 changes: 6 additions & 6 deletions meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

package:
name: 'nionswift'
version: '0.16.8'
version: '16.9.0'

source:
git_rev: 0.16.8
git_rev: 16.9.0
git_url: https://github.com/nion-software/nionswift.git

build:
Expand All @@ -24,11 +24,11 @@ requirements:
run:
- python >=3.9
- nionutils >=0.4.5,<0.5.0
- niondata >=0.15.3,<0.16.0
- nionui >=0.6.10,<0.7.0
- nionswift-io >=0.15.0
- niondata >=15.6,<16.0
- nionui >=7.0,<7.1
- nionswift-io >=15.2,<16.0
- scipy
- numpy >=1.21,<2.0
- numpy >=1.25,<2.0
- h5py
- imageio >=2.19.0
- pytz
Expand Down
2 changes: 1 addition & 1 deletion nion/swift/Application.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ def __init__(self, ui: UserInterface.UserInterface, set_global: bool = True) ->

ui.set_persistence_handler(PersistenceHandler())
setattr(self.ui, "persistence_root", "3") # sets of preferences
self.version_str = "0.16.8"
self.version_str = "16.9.0"

self.document_model_available_event = Event.Event()

Expand Down
14 changes: 6 additions & 8 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,16 +1,14 @@
[metadata]
name = nionswift
version = 0.16.8
# niondata >= 0.15.3 (DataMetadata read-only props), nionutils >= 0.4.7 (DatetimeToStringConverter/is_local)
# nionui >= 0.6.12 (layout)
version = 16.9.0
author = Nion Software
author_email = swift@nion.com
description = Nion Swift: Scientific Image Processing.
long_description = file: README.rst
url = https://github.com/nion-software/nionswift
license = GPL-3.0-only
classifiers =
Development Status :: 4 - Beta
Development Status :: 5 - Production/Stable
License :: OSI Approved :: GNU General Public License v3 (GPLv3)
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Expand All @@ -21,16 +19,16 @@ packages = find_namespace:
python_requires = >=3.9
install_requires =
scipy
numpy>=1.21,<2.0
numpy>=1.25,<2.0
h5py
pytz
tzlocal
imageio>=2.19.0
pillow
nionutils>=0.4.5,<0.5.0
niondata>=0.15.3,<0.16.0
nionui>=0.6.10,<0.7.0
nionswift-io>=0.15.0
niondata>=15.6,<16.0
nionui>=7.0,<7.1
nionswift-io>=15.2,<16.0

[options.package_data]
nion.swift =
Expand Down

0 comments on commit bf0ae41

Please sign in to comment.