-
Notifications
You must be signed in to change notification settings - Fork 5
Create panda subdirectory within panda plan #1371
Conversation
ed9ad91
to
9e341bd
Compare
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.
looks good, thank you!
tests/unit_tests/experiment_plans/test_flyscan_xray_centre_plan.py
Outdated
Show resolved
Hide resolved
tests/unit_tests/experiment_plans/test_panda_flyscan_xray_centre_plan.py
Outdated
Show resolved
Hide resolved
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.
Couple of comments in code. For interest, what are the names of the files that panda will write out?
) | ||
panda_directory = Path(parameters.detector_params.directory) | ||
|
||
# Don't create directory once implemented in ophyd-async |
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.
Should: Does this have an ophyd_async
issue we can link to?
get_directory_provider().update( | ||
directory=Path(parameters.detector_params.directory) | ||
) | ||
panda_directory = Path(parameters.detector_params.directory) |
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.
Should: I think parameters.storage_directory
is where we get the detector directory from originally so we should probably use that here rather than digging into the detector.
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.
Should: I'm also mildly concerned that people will get detector and panda data confused. Can we put it in a panda
subfolder for now?
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.
lgtm!
…Source/1339_fix_panda_pcap Create panda subdirectory within panda plan
Fixes #1339
Link to dodal PR (if required): #516
(remember to update
setup.cfg
with the dodal commit tag if you need it for tests to pass!)To test: