Fixed that the 3DX tag ASM-PRD- is generated. Now it is only PRD- or ASM-
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 5s

This commit is contained in:
2025-09-04 16:21:22 +02:00
parent 440552b125
commit c6539e5574

View File

@@ -72,7 +72,7 @@ class AssemblyList:
sec = self.components.find_section(sname)
if not sec is None:
secOG = sec['3DX-Section OG'].to_string(index=False, na_rep='').strip()
if 'ASM' in secOG:
if 'ASM' in secOG or 'PRD' in secOG:
esec['3DX-Section']=secOG
else:
esec['3DX-Section'] = 'ASM-'+sec['3DX-Section OG'].to_string(index=False, na_rep='').strip()