Take out explicit packages paths
This commit is contained in:
@@ -2,7 +2,7 @@ import re
|
||||
import sys
|
||||
from typing import is_typeddict
|
||||
|
||||
sys.path.append('/sf/bd/packages/sfbd')
|
||||
|
||||
from sfbd.interface import getSnapPV,getSnapVal
|
||||
|
||||
from epics import PV
|
||||
@@ -21,5 +21,5 @@ class Machine:
|
||||
if isinstance(filters, str):
|
||||
filters = [filters]
|
||||
recomp = re.compile('|'.join(filters))
|
||||
pvget = [pv for pv in self.snapPVs if recomp.match(pv.pvname)]
|
||||
self.snap = getSnapVal(pvget)
|
||||
# pvget = [pv for pv in self.snapPVs if recomp.match(pv.pvname)]
|
||||
# self.snap = getSnapVal(pvget)
|
||||
Reference in New Issue
Block a user