#135 closed enhancement (fixed)
Export docu of logical model fails for complex gates
Reported by: | mirschel | Owned by: | rempel |
---|---|---|---|
Priority: | minor | Milestone: | Promot 0.8.2 |
Component: | PromotGuiVizEdit | Version: | 0.8.0 |
Severity: | bad | Keywords: | export logical model documentation |
Cc: |
Description
When exporting logical models, the export of documentation for complex gates such as AND22 or OR fails (documentation is lost). This is because the complex gates are decomposed in multiple separate reactions. It would be desirable to export the documentation for one or all single reactions.
Change History (8)
comment:1 Changed 17 years ago by rempel
- Owner changed from ginkel to mirschel
- Priority changed from major to minor
- Severity changed from fatal to bad
- Type changed from defect to enhancement
comment:2 Changed 16 years ago by rempel
- Owner changed from mirschel to rempel
comment:3 Changed 16 years ago by rempel
- Resolution set to fixed
- Status changed from new to closed
fixed with r8969
comment:4 Changed 16 years ago by rempel
fixed with [8060]
comment:5 Changed 16 years ago by rempel
- Milestone changed from Promot 0.9 to Promot 0.8.2
comment:6 Changed 16 years ago by rempel
- Resolution fixed deleted
- Status changed from closed to reopened
export was to slow (instantiation of model/containing modules for each leaf module) so resolution was disabled. needs better resolution (cache, get documentation without instantiation, ..).
comment:7 Changed 16 years ago by rempel
- Resolution set to fixed
- Status changed from reopened to closed
comment:8 Changed 16 years ago by rempel
Note: See
TracTickets for help on using
tickets.
there is no representation for this gates in CNA so there is no direct target element to transfer the documentation to. Right now (variable editor from GUI) it is not possible to change values for slots other than variables (modules containing the variables are displayed in the tree but edits are not saved).
It is already possible (using a text editor) to set the documentation of module slots contained within module slots (here gates visible in CNA contained in complex gates) using :parameters (( "complex_gate.gate_within" :documentation "...")). So functionality to copy/transfer the documentation to a selected/all contained slots might be helpful. The only automatic version i see, would be the copy to all contained module slots, which could be done during/before export. The problem here is to decide is when to apply (define: "complex gate" vs. module containing potentially documented slots which might be over-written).