-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
Currently, fastCS services PVCs that contains the generated bob files keeps old files. It would be nice to generate new bob files in a temp directory, then delete bob files in the PVC once the new bob files have successfully been generated, then move the new bob files over, upon IOC start-up. This would require a change inserted into:
def create_gui(self, options: EpicsGUIOptions | None = None) -> None:
if options is None:
options = EpicsGUIOptions()
if options.file_format is EpicsGUIFormat.edl:
logger.warning("FastCS may not support all widgets in .edl screens")
assert options.output_path.suffix == options.file_format.value
options.output_path.parent.mkdir(parents=True, exist_ok=True)
components = self.extract_api_components(self._controller_api)
device = Device(label=options.title, children=components)
formatter = DLSFormatter()
formatter.format(device, options.output_path.resolve())Acceptance Criteria
- Screens directory is appropriately cleared at start-up
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels