Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 369162 - runparameters.txt does not handle multi-population disease models
Summary: runparameters.txt does not handle multi-population disease models
Status: RESOLVED FIXED
Alias: None
Product: STEM
Classification: Technology
Component: Core (show other bugs)
Version: 1.3.0   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Matthew Davis CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-19 19:01 EST by Stefan Edlund CLA
Modified: 2012-09-10 17:56 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Edlund CLA 2012-01-19 19:01:04 EST
It cannot store vectors or matrices with parameter values.
Comment 1 James Kaufman CLA 2012-01-26 11:07:28 EST
Assigning to JK
Comment 2 James Kaufman CLA 2012-01-26 12:00:25 EST
Matt and I looked into this. There are three issues:
1) For aging population models a "feature" can now be a list (not just a name value pair). We need to detect that. Question as to where the list items should be logged (single file or inside subdirectories).
2) Run parameters logging is only receiving an integration decorator. It should instead accept NodeDecorator and then be able to log both IntegrationDecorators and/or TransformationDecorators
3) The decorators themselves should implement a "getRunParameters" function returning all the data that actually get's logged. This could be complicated if we log to multiple subfolder but imho the RunParameters should be logged in one file per run. Sublists may be indented on new lines....
Comment 3 Stefan Edlund CLA 2012-03-13 16:53:58 EDT
There is one additional 'decorator.XMI' file stored in the log directory now that contains the serialized disease model (or population model). The only problem is when parameters contains default values, in which case they won't get written out.
Comment 4 Stefan Edlund CLA 2012-03-13 20:07:59 EDT
Fixed it so parameters with default values are serialized as well.
Comment 5 Matthew Davis CLA 2012-09-10 17:56:04 EDT
I believe Stefan fixed this.  Marking resolved.