pcdshub / pytmc

Generate EPICS IOCs and records from TwinCAT projects - along with many TwinCAT project tools
https://pcdshub.github.io/pytmc/
Other
10 stars 11 forks source link

pytmc summary --boxes displays anomalous numbering order #148

Closed n-wbrown closed 4 years ago

n-wbrown commented 4 years ago

Using pytmc summary --boxes on the ArbiterPLC project included for tests yields the following:

I have not yet ruled out issues with the .sln as the source of the issue.

    1.) Term 1 (EK1200)
    2.) PMPS_FFO
    7.) PMPS_BC
    8.) PMPS_CLTS
    3.) Term 3 (EK1122)
    5.) SubSysPLC1
    4.) SubSysPLC2
    6.) Term 6 (EK1110)
klauer commented 4 years ago

😆 Looks like project doesn't store the IDs in order. We need a sort in the show_boxes section of summary.py.