Ticket #110 (closed defect: worksforme)

Opened 13 years ago

Last modified 12 years ago

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.

Attachments

getComponentIds.zip (124.5 KB) - added by michelpons 13 years ago.
Zipped RTF file with screenshot obtained with v2.0 as released
proii_092211_144454.zip (21.8 KB) - added by michelpons 13 years ago.
Zipped log file obtained with COLTT v2.0 as released

Change History

Changed 13 years ago by michelpons

Zipped RTF file with screenshot obtained with v2.0 as released

Changed 13 years ago by michelpons

Zipped log file obtained with COLTT v2.0 as released

comment:1 Changed 13 years ago by michelpons

  • Version changed from Development to 2.0

comment:2 Changed 12 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.

comment:3 Changed 12 years ago by michaelhalloran

  • Description modified (diff)
Note: See TracTickets for help on using tickets.