From 509a6994afb1338280f358c29d123c42627af448 Mon Sep 17 00:00:00 2001 From: Pete Jemian Date: Fri, 26 Jun 2020 10:47:20 -0500 Subject: [PATCH] DOC #333 --- apstools/beamtime/bss_info.db | 6 +++--- apstools/beamtime/make_database.py | 14 ++++++++++++++ 2 files changed, 17 insertions(+), 3 deletions(-) diff --git a/apstools/beamtime/bss_info.db b/apstools/beamtime/bss_info.db index 7ee1d2af0..6f47e742c 100644 --- a/apstools/beamtime/bss_info.db +++ b/apstools/beamtime/bss_info.db @@ -2,12 +2,12 @@ # file: bss_info.db # EPICS database for information from APS ESAF & Proposal databases # -# BSS: Beamline Scheduling System +# BSS: Beamtime Scheduling System +# +# note: this file autogenerated by make_database.py # softIoc -m P=ioc:bss: -d bss_info.db -# note: this file autogenerated by make_database.py - record(stringout, "$(P)esaf:cycle") record(waveform, "$(P)esaf:description") { diff --git a/apstools/beamtime/make_database.py b/apstools/beamtime/make_database.py index 6c61c076d..65de59693 100755 --- a/apstools/beamtime/make_database.py +++ b/apstools/beamtime/make_database.py @@ -138,6 +138,20 @@ proposal:user9:userId stringout """.strip().splitlines() +print("""\ +# +# file: bss_info.db +# EPICS database for information from APS ESAF & Proposal databases +# +# BSS: Beamtime Scheduling System +# +# note: this file autogenerated by make_database.py +# +# Start the EPICS IOC with a command such as: +# softIoc -m P=ioc:bss: -d bss_info.db + +""") + for row in raw_data: parts = row.split() pvname, rtyp = parts[:2]