Opened 12 years ago

Closed 11 years ago

#1795 closed defect (fixed)

Move getExperimentAnnotation to typed scripting

Reported by: Martin Sjölund Owned by: Martin Sjölund
Priority: high Milestone: 1.9.1
Component: Interactive Environment Version:
Keywords: Cc:

Description

getExperimentAnnotation should return a tuple boolean+record (has experiment annotation, and these are the values or defaults):

record OpenModelica.Scripting.Experiment
  ...
end OpenModelica.Scripting.Experiment;

instead of a non-standard string {StopTime=1.5}

This requires changes in OMEdit.

Change History (4)

comment:1 by Martin Sjölund, 11 years ago

Milestone: 1.9.01.9.1

Postponed until 1.9.1

comment:2 by Martin Sjölund, 11 years ago

This is actually no longer used in OMEdit because we have a better API call: getSimulationOptions(), which can also change the defaults.
I will simply remove getExperimentAnnotation.

comment:3 by Martin Sjölund, 11 years ago

Owner: changed from Adeel Asghar to Martin Sjölund
Status: newassigned

comment:4 by Martin Sjölund, 11 years ago

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.