Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
python-spectrometer
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
qutech
python-spectrometer
Commits
4a6bb70b
Verified
Commit
4a6bb70b
authored
2 months ago
by
Tobias Hangleiter
Browse files
Options
Downloads
Patches
Plain Diff
Default to True for delay
parent
13103f07
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!66
Extend simulator module
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/python_spectrometer/daq/simulator.py
+1
-1
1 addition, 1 deletion
src/python_spectrometer/daq/simulator.py
with
1 addition
and
1 deletion
src/python_spectrometer/daq/simulator.py
+
1
−
1
View file @
4a6bb70b
...
...
@@ -51,7 +51,7 @@ def with_delay(meth):
"""
Wraps an acquisition generator to accept the *delay* kwarg.
"""
@wraps
(
meth
)
def
wrapped
(
self
,
*
,
delay
:
bool
|
float
=
Fals
e
,
**
settings
):
def
wrapped
(
self
,
*
,
delay
=
Tru
e
,
**
settings
):
skip_wait
=
getattr
(
wrapped
,
'
__with_delay
'
,
False
)
if
delay
is
True
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment