-
Notifications
You must be signed in to change notification settings - Fork 12
Feature/odin seek #316
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
blondejamtart
wants to merge
15
commits into
master
Choose a base branch
from
feature/odinSeek
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Feature/odin seek #316
Changes from all commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
9dc9fe0
added argument to quantise seek + added odin uid offset PV
blondejamtart 949cf26
removed seek_multiples_of from odin_runnable_block (should be defined…
blondejamtart 59883d5
Merge branch 'master' of github.com:dls-controls/pymalcolm into featu…
blondejamtart 0e0209a
fix typo
blondejamtart dd6a025
remove pause hook for writerpart and fix uid offset in seek
blondejamtart 7e2168b
Merge branch 'master' of github.com:dls-controls/pymalcolm into featu…
blondejamtart 083afa7
add frameOffset setting
084f5a7
attempt to fix setting of offsets on seek
blondejamtart 4d6b53b
fix done_when_reaches and add offset value setting in seek
c280bd6
Merge branch 'master' of github.com:dls-controls/pymalcolm into featu…
blondejamtart cded431
add odindriverpart to ensure arraycounter is zeroed at start on each …
blondejamtart 4df1239
copy all annotated methods into OdinDriverPart and super
blondejamtart 6ef1c6c
add check for squashingexcluder + fix indent
86aebd6
fix frame offset for new odindriverpart
b3656e2
removed redundant code
blondejamtart File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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,18 @@ | ||
| from malcolm.core import Context | ||
| from malcolm.modules import builtin, scanning | ||
| from malcolm.modules.ADCore.parts import DetectorDriverPart | ||
|
|
||
| from annotypes import add_call_types, Any | ||
|
|
||
| class OdinDriverPart(DetectorDriverPart): | ||
| def setup_detector(self, | ||
| context, # type: Context | ||
| completed_steps, # type: scanning.hooks.ACompletedSteps | ||
| steps_to_do, # type: scanning.hooks.AStepsToDo | ||
| duration, # type: float | ||
| part_info, # type: scanning.hooks.APartInfo | ||
| **kwargs # type: Any | ||
| ): | ||
| # type: (...) -> None | ||
| super(OdinDriverPart, self).setup_detector(context, 0, steps_to_do, duration, part_info) | ||
|
|
This file contains hidden or 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
This file contains hidden or 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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why is this commented out?