Ticket #110 (closed defect: worksforme) — at Version 2
GetComponentIds in Viewer
Reported by: | michelpons | Owned by: | Michael Halloran |
---|---|---|---|
Priority: | minor | Milestone: | 2.1 |
Component: | Viewer | Version: | 2.0 |
Keywords: | getComponentIds | Cc: | michaelhalloran |
Description (last modified by michaelhalloran) (diff)
As per the screenshot attached, a GetComponentIds call appears in a weird way in the Viewer. In the original log I see:
MaterialObject <Anonymous> : Call to get_ComponentIds
get_ComponentIds returns :
Hexane
Octane
Decane
MaterialObject <Anonymous> : Return from get_ComponentIds - Succeeded
Property Phase Calc Compounds
vaporPressure Liquid Pure Hexane
Octane
Decane
MaterialObject <Anonymous> : Call to get_ComponentIds
get_ComponentIds returns :
Hexane
Octane
Decane
MaterialObject <Anonymous> : Return from get_ComponentIds - Succeeded
While in the viewer, as exemplified in the screenshot attached, the first getComponentIds tag is not yet expanded that its contents are already displayed. One should need always to expand in order to see the contents of the call.
I don't think there is anything to fix here.
Change History
Changed 13 years ago by michelpons
- Attachment getComponentIds.zip added
Changed 13 years ago by michelpons
- Attachment proii_092211_144454.zip added
Zipped log file obtained with COLTT v2.0 as released
comment:2 Changed 13 years ago by michaelhalloran
- Status changed from new to closed
- Resolution set to worksforme
- Description modified (diff)
Michel, I agree it looks odd but I think it is correct:
This part is information written by the PropertyPackage logger to record inputs to the CalcProp call. It is not a partial expansion of the previous get_ComponentIds call.
MaterialObject <Anonymous> : Return from get_ComponentIds - Succeeded
Property Phase Calc Compounds
vaporPressure Liquid Pure Hexane
Octane
Decane
Before that, CalcProp calls get_ComponentIds so that it can write out this table. The get_componentIds call can be opened in in the viewer as expected. By default it is closed but there is a + sign next to it. These calls are now prefixed with COLTT so that it is clear that it is COLTT that initiated the call.
After the inputs to CalcProp are written out there is another call to get_ComponentIds. This call can also be opened correctly as indicated by the + sign. This call is made from within the CalcProp calculation itself.
Zipped RTF file with screenshot obtained with v2.0 as released