USEPA / SWMM-EPANET_User_Interface

User interface for the Stormwater-Management-Model
111 stars 67 forks source link

Can't edit IRREGULAR cross sections #388

Closed barrc closed 4 years ago

barrc commented 4 years ago

If you open an existing inp file with IRREGULAR cross sections, open the corresponding conduit editor, click on the three dots next to shape, the program fails with this error:

  File "C:\Users\cbarr02\Desktop\GitHub\SWMM-EPANET_User_Interface\src\ui\SWMM\frmConduits.py", line 105, in local_show
    editor.set_link(self.project, str(self.tblGeneric.item(0, column).text()))
  File "C:\Users\cbarr02\Desktop\GitHub\SWMM-EPANET_User_Interface\src\ui\SWMM\frmCrossSection.py", line 181, in set_link
    if value.transect == self.cboCombo.itemText(index):
AttributeError: 'CrossSection' object has no attribute 'transect'
barrc commented 4 years ago

closed by #389