python funcs

This commit is contained in:
Erik Frojdh
2020-09-10 16:47:34 +02:00
parent 6cfaa92b61
commit d70090967d
6 changed files with 38 additions and 77 deletions

View File

@ -8,8 +8,6 @@ from slsdet import Detector
pycmd = dir(Detector)
#Add commands that we should not expect as direct commands in python
# dacs are in general not included in the python commands and we expect to
# set them from the specialized class or using an enum
@ -119,6 +117,7 @@ print(f'Excluded: {len(dacs)} dacs')
print(f'Excluded: {len(intentionally_missing)} other commands')
not_in_cmd = []
for c in pycmd:
if c.islower() and not c.startswith('_'):