optimize imports and cleanup code
This commit is contained in:
@@ -10,9 +10,6 @@ import logging
|
||||
_log=logging.getLogger(__name__)
|
||||
import epics
|
||||
|
||||
#from app_config import settings
|
||||
#from app_utils import assert_motor_positions
|
||||
|
||||
class Backlight(object):
|
||||
def __init__(self, prefix: str='SAR-EXPMX:MOT_BLGT',pos={'pos_in':-30500,'pos_out':1000,'pos_diode':-30500}):
|
||||
if prefix is None:
|
||||
@@ -44,7 +41,6 @@ class Backlight(object):
|
||||
m.move(target, ignore_limits=True, wait=wait)
|
||||
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
import time,os
|
||||
import argparse
|
||||
|
||||
Reference in New Issue
Block a user