Skip to content

Add trailing newline to six settings request files - #185

Open
xmap wants to merge 1 commit into
tomography:masterfrom
xmap:fix-req-trailing-newline
Open

Add trailing newline to six settings request files#185
xmap wants to merge 1 commit into
tomography:masterfrom
xmap:fix-req-trailing-newline

Conversation

@xmap

@xmap xmap commented Aug 19, 2026

Copy link
Copy Markdown

autosave skips a final .req line that is not newline-terminated, so the last PV listed in each of these six files is never saved or restored.

Verified on a scratch IOC (base 7.0.8, autosave R5-11): with a deliberately unterminated .req, autosave saved every listed PV except the last, and adding the newline restored it. At 2BMB, FlipStitch is absent from all 587 save files in the autosave directory, including dated backups from 2021, while its neighbours appear in every one.

Affected last entries:

file PV lost
tomoScan_settings.req FlipStitch (base, so every beamline)
tomoScan_2BM_settings.req CbPluginPVPrefix
tomoScan_2ID_settings.req Filters
tomoScan_32ID_settings.req Pause
tomoScan_PSO_settings.req ProgramPSO
tomoScan_step_settings.req StabilizationTime

Six added newline characters, no other change. Closes #184, and explains the FlipStitch anomaly in #182.

autosave skips a final .req line that is not newline-terminated, so the
last PV in each of these files has never been saved or restored. At
2BMB, FlipStitch is absent from all 587 save files in the autosave
directory, including dated backups from 2021, while its neighbours are
in every one.

Verified on a scratch IOC (base 7.0.8, autosave R5-11): with a
deliberately unterminated .req, autosave saved every listed PV except
the last one, and adding the newline restored it.

Affected last entries: FlipStitch, CbPluginPVPrefix, Filters, Pause,
ProgramPSO, StabilizationTime.

Fixes tomography#184
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.

Six settings request files lack a trailing newline, so their last PV is never autosaved

1 participant