Skip to content

Commit 0028c85

Browse files
authored
Merge branch 'main' into feature/model_base
2 parents f7169d6 + 77df3f8 commit 0028c85

5 files changed

Lines changed: 24 additions & 14 deletions

File tree

.github/workflows/Testbase.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ jobs:
1818
QT_DEBUG_PLUGINS: 1
1919
steps:
2020
- name: Set up Python ${{ inputs.python }}
21-
uses: actions/checkout@v3
21+
uses: actions/checkout@v4.2.2
2222
- name: Install dependencies
23-
uses: actions/setup-python@v4
23+
uses: actions/setup-python@v5.5.0
2424
with:
2525
python-version: ${{ inputs.python }}
2626
- name: Install package

.github/workflows/python-publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ jobs:
1313
runs-on: ubuntu-latest
1414

1515
steps:
16-
- uses: actions/checkout@v4
16+
- uses: actions/checkout@v4.2.2
1717
- name: Set up Python
18-
uses: actions/setup-python@v4
18+
uses: actions/setup-python@v5.5.0
1919
with:
2020
python-version: '3.11'
2121
- name: Install dependencies

.github/workflows/updater.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
runs-on: ubuntu-latest
1212

1313
steps:
14-
- uses: actions/checkout@v4
14+
- uses: actions/checkout@v4.2.2
1515
with:
1616
# [Required] Access token with `workflow` scope.
1717
token: ${{ secrets.WORKFLOW_SECRET }}

pyproject.toml

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,30 @@
1+
[features] # defines the plugin features contained into this plugin
2+
instruments = true # true if plugin contains instrument classes (else false, notice the lowercase for toml files)
3+
extensions = true # true if plugins contains dashboard extensions
4+
models = false # true if plugins contains pid models
5+
h5exporters = false # true if plugin contains custom h5 file exporters
6+
scanners = false # true if plugin contains custom scan layout (daq_scan extensions)
7+
18
[build-system]
29
requires = ["hatchling>=1.9.0", "hatch-vcs", "toml", "pymodaq_utils"]
310
build-backend = "hatchling.build"
411

12+
[urls]
13+
package-url = 'https://github.com/PyMoDAQ/pymodaq_plugins_datamixer'
14+
515
[project]
6-
dynamic = ["version", "authors", "dependencies", "description", "urls", "entry-points"]
16+
dynamic = ["version", "urls", "entry-points"]
717
readme = "README.rst"
818
license = { file="LICENSE" }
919
requires-python = ">=3.8"
10-
20+
description = 'Implements an extension to manipulate data from several DAQ_Viewers'
1121
name = "pymodaq_plugins_datamixer"
12-
22+
authors = [
23+
{name='Sebastien J. Weber', email='sebastien.weber@cnrs.fr'}
24+
]
25+
dependencies = [
26+
"pymodaq>5.0"
27+
]
1328
classifiers = [
1429
"Development Status :: 5 - Production/Stable",
1530
"Environment :: Other Environment",

src/pymodaq_plugins_datamixer/extensions/data_mixer.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,6 @@ def get_set_model_params(self, model_name):
6666
def setup_docks(self):
6767
"""Mandatory method to be subclassed to setup the docks layout
6868
69-
See Also
70-
--------
71-
pyqtgraph.dockarea.Dock
7269
"""
7370
self.docks['settings'] = gutils.Dock('Settings')
7471
self.dockarea.addDock(self.docks['settings'])
@@ -91,6 +88,7 @@ def setup_docks(self):
9188

9289
self.area_computed = gutils.DockArea()
9390
self.docks['computed'].addWidget(self.area_computed)
91+
9492
self.dte_computed_viewer = ViewerDispatcher(self.area_computed)
9593

9694
if len(self.models) != 0:
@@ -99,9 +97,6 @@ def setup_docks(self):
9997
def setup_actions(self):
10098
"""Method where to create actions to be subclassed. Mandatory
10199
102-
See Also
103-
--------
104-
ActionManager.add_action
105100
"""
106101
self.add_action('quit', 'Quit', 'close2', "Quit program")
107102
self.add_action('ini_model', 'Init Model', 'ini')

0 commit comments

Comments
 (0)