aps-6bm-mpe / ipython-s6bm

User account for 6-BM-A using ipython
1 stars 3 forks source link

refactor versions in RunEngine metadata #6

Closed prjemian closed 5 years ago

prjemian commented 5 years ago

An emerging pattern (from the bluesky community) is to make a consistent representation of software versions in the RunEngine metadata under a versions keye: (RE.md["versions"]), such as:

RunEngine metadata dictionary:
=========== ==============================
key         value
=========== ==============================
beamline_id APS TRR 8-ID-I
login_id    8idiuser@snow.xray.aps.anl.gov
pid         29740
proposal_id None
scan_id     26
versions    =========== ========
            key         value
            =========== ========
            apstools    1.1.12
            bluesky     1.5.3
            databroker  0.13.0
            epics       3.3.3
            matplotlib  3.1.0
            numpy       1.16.4
            ophyd       1.3.3
            pyRestTable 2020.0.2
            spec2nexus  2021.1.1
            =========== ========
=========== ==============================

This seems cleaner and more easily tracked to the package name than the previous style, which involved upper case the package name + "_version".