BCDA-APS / adl2pydm

Convert MEDM's .adl files to PyDM's .ui format
Other
0 stars 4 forks source link

error processing display[0] #77

Closed prjemian closed 2 years ago

prjemian commented 2 years ago

The other error is:

ERROR:adl2pydm.cli:error processing /tmp/docker_ioc/custom-synapps-6.2-ad-3.10/screens/adl/Oxford_CS800_hourplot.adl: 'display[0]'

Originally posted by @prjemian in https://github.com/BCDA-APS/adl2pydm/issues/73#issuecomment-951161226

prjemian commented 2 years ago

This MEDM screen file is pathological (and it is mine). It has two items in the related display widget with the same number display[0]. It fails on the second item at this line: https://github.com/BCDA-APS/adl2pydm/blob/457fa88bfdbab8b2be27e953320b26a2188193b6/adl2pydm/adl_parser.py#L584