Skip to content
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

131 make a simulated detector that can write hdf files #144

Merged
merged 59 commits into from
Apr 15, 2024

Conversation

stan-dot
Copy link
Contributor

No description provided.

@stan-dot stan-dot self-assigned this Mar 11, 2024
@stan-dot stan-dot linked an issue Mar 11, 2024 that may be closed by this pull request
@stan-dot stan-dot marked this pull request as ready for review April 3, 2024 10:42
Copy link
Collaborator

@coretl coretl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Couple of naming changes, other than that looks good

src/ophyd_async/sim/PatternGenerator.py Outdated Show resolved Hide resolved
src/ophyd_async/sim/SimPatternDetector.py Outdated Show resolved Hide resolved
src/ophyd_async/sim/SimPatternDetector.py Outdated Show resolved Hide resolved
@stan-dot stan-dot requested a review from coretl April 4, 2024 23:09
@stan-dot
Copy link
Contributor Author

that issue is still present with pyside6 at 6.7.0
https://bugreports.qt.io/browse/PYSIDE-2665?jql=text%20~%20"unexpected%20indent%22

@stan-dot stan-dot merged commit 1924fd9 into main Apr 15, 2024
14 checks passed
@stan-dot stan-dot deleted the 131-make-a-simulated-detector-that-can-write-hdf-files branch April 15, 2024 10:31
gilesknap pushed a commit to gilesknap/ophyd-async that referenced this pull request Apr 17, 2024
* add the sim module

* day progress

* more exploration

* day's work

* incremental changes

* an attempt to put features together

* incremental changes

* try SimSample

* make pattern generator do sensible things

* make lint happy

* attempt at tests

* WIP setting up pytest with fake paths

* write more test outlines

* work on tests

* WIP fix async tests

* WIP make the tests work better

* raw refactor

* refactoring proof of concept

* delete refactoring attempts

* tests improvement

* add basic streaming plan

* rename to sim driver

* change into SimDriver

* fix formatting

* work on the tests

* correct 19 out of 32 errors

* down to 10 errors

* down to 4 errors, all due to observe_value decision and the NDfileHDF

* swmr error

* fix lint

* setup for asyncio

* still error with async

* closing writer and file handle issue

* move back to pattern generator

* got to descriptor validation error

* async setup for all IO failed

* fix writer descriptor test. also component not found async error

* fix the test

* pass all tests

* ran black

* make lint happy

* missed one

* make mypy happy

* fix black

* add declare to the failing plan

* update pyproject for wrong pyside6

* fix the flyer test

* delete mistaken test file

* rollback some unintended changes

* make lint happy

* delete sim sample to lower the test lines

* delete empty test

* mistake double test

* day work (not done yet)

* add snake case@

* lock pyside6 to 6.6.2 to fix the svg indent issue in upstream

* pyproject syntax error fix
gilesknap pushed a commit to gilesknap/ophyd-async that referenced this pull request Apr 17, 2024
* add the sim module

* day progress

* more exploration

* day's work

* incremental changes

* an attempt to put features together

* incremental changes

* try SimSample

* make pattern generator do sensible things

* make lint happy

* attempt at tests

* WIP setting up pytest with fake paths

* write more test outlines

* work on tests

* WIP fix async tests

* WIP make the tests work better

* raw refactor

* refactoring proof of concept

* delete refactoring attempts

* tests improvement

* add basic streaming plan

* rename to sim driver

* change into SimDriver

* fix formatting

* work on the tests

* correct 19 out of 32 errors

* down to 10 errors

* down to 4 errors, all due to observe_value decision and the NDfileHDF

* swmr error

* fix lint

* setup for asyncio

* still error with async

* closing writer and file handle issue

* move back to pattern generator

* got to descriptor validation error

* async setup for all IO failed

* fix writer descriptor test. also component not found async error

* fix the test

* pass all tests

* ran black

* make lint happy

* missed one

* make mypy happy

* fix black

* add declare to the failing plan

* update pyproject for wrong pyside6

* fix the flyer test

* delete mistaken test file

* rollback some unintended changes

* make lint happy

* delete sim sample to lower the test lines

* delete empty test

* mistake double test

* day work (not done yet)

* add snake case@

* lock pyside6 to 6.6.2 to fix the svg indent issue in upstream

* pyproject syntax error fix
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Make a simulated detector that can write HDF files
2 participants