pcdshub / lightpath

LCLS Lightpath Module
https://pcdshub.github.io/lightpath
Other
4 stars 9 forks source link

FIX: Modify branching logic to ignore removed optics when suitable #87

Closed teddyrendahl closed 5 years ago

teddyrendahl commented 5 years ago

Description

Correction to make branching logic far easier to specify:

  1. Walk beamline remembering the optics that we see
  2. When we find a device that is not a new beamline review the optics we've seen. There are two ways a device can be blocking:
    • If the optic specifically lists our hutch as a possible destination but it is not presently being delivered there i.e XPP LODCM lists HXD instead of XPP
    • If the optic does not list our new beamline as a destination, it must be "passing" beam through along its current path.

Motivation and Context

Instead of https://github.com/pcdshub/pcdsdevices/pull/291

How Has This Been Tested?