-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
43 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,3 +10,11 @@ author-email = '[email protected]' | |
[plugin-install] | ||
#packages required for your plugin: | ||
packages-required = ['pymodaq>4.0.0'] #list of required packages within quotes, eg: ["pyvisa", "numpy==1.19.3"] ... | ||
|
||
[features] # defines the plugin features contained into this plugin | ||
instruments = true # true if plugin contains instrument classes (else false, notice the lowercase for toml files) | ||
extensions = false # true if plugins contains dashboard extensions | ||
pid_models = false # true if plugins contains pid models | ||
h5exporters = false # true if plugin contains custom h5 file exporters | ||
scanners = false # true if plugin contains custom scan layout (daq_scan extensions) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
#this is the configuration file of the plugin | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# -*- coding: utf-8 -*- | ||
""" | ||
Created the 31/08/2023 | ||
@author: Sebastien Weber | ||
""" | ||
from pathlib import Path | ||
|
||
from pymodaq.utils.config import BaseConfig, USER | ||
|
||
|
||
class Config(BaseConfig): | ||
"""Main class to deal with configuration values for this plugin""" | ||
config_template_path = Path(__file__).parent.joinpath('resources/config_template.toml') | ||
config_name = f"config_{__package__.split('pymodaq_plugins_')[1]}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters