Ticket #947 (closed Task: fixed)

Opened 2 years ago

Last modified 2 years ago

output experiment shortname must not contain the experiment number

Reported by: charlotte Owned by: rupert
Priority: blocker Milestone: V1.1 Questionnaire Release
Component: WP1 - Project Management Version: 1.1
Keywords: Cc: gerry paul
Requirement: http://metaforclimate.eu/Work-Package-2/Developing-the-CIM/Project-Requirements-summary.htm

Description

The shortname in the experiment xml documents is made up of two strings, a number and a name.

e.g. 4.1 rcp8.5  

Whereas the shortname in the output from the questionnaire must only contain the second string, i.e. the name.

e.g. rcp8.5 

(hmm perhaps this is a bad example because the name has a number in it, the main thing to notice is that shortnames are made up of two strings and only the second string should go into the output xml)

Change History

comment:1 Changed 2 years ago by rupert

  • Status changed from new to closed
  • Resolution set to fixed

I implemented this a while back but did not close this ticket (sorry). Rather than throwing away the first part of the string, this is output as an experimentNumber in the Experiment document.

So, to use your example

4.1 rcp8.5

produces

<experiment>...<shortName>rcp8.5</shortName>...<experimentNumber>4.1</experimentNumber>...</experiment>

Note: See TracTickets for help on using tickets.