Skip to content

Commit

Permalink
Fix measured datasets
Browse files Browse the repository at this point in the history
  • Loading branch information
MarekSuchanek committed Mar 22, 2021
1 parent 1014571 commit 6025f02
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ This template is available through [DSW Registry](https://registry.ds-wizard.org

## Changelog

### 1.4.1

- Fix displaying answers related to measured datasets

### 1.4.0

- Adjusted to template metamodel version 3 (released in DSW 2.12.0)
Expand Down
2 changes: 1 addition & 1 deletion parts/questions/01-what-data.html.j2
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<div class="answer">

{%- set measuredPath = [uuids.creatingCUuid, uuids.measuredQUuid]|reply_path -%}
{%- set measuredAUuid = repliesMap[measuredPath]|reply_items -%}
{%- set measuredAUuid = repliesMap[measuredPath]|reply_str_value -%}
{%- if measuredAUuid == uuids.measuredYesAUuid -%}
{%- set measuredDataPath = [measuredPath, uuids.measuredYesAUuid, uuids.measuredDataQUuid]|reply_path -%}
{%- set measuredDataItems = repliesMap[measuredDataPath]|reply_items -%}
Expand Down
2 changes: 1 addition & 1 deletion parts/questions/02-how-data.html.j2
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@


{%- set measuredPath = [uuids.creatingCUuid, uuids.measuredQUuid]|reply_path -%}
{%- set measuredAUuid = repliesMap[measuredPath]|reply_items -%}
{%- set measuredAUuid = repliesMap[measuredPath]|reply_str_value -%}
{%- if measuredAUuid == uuids.measuredYesAUuid -%}
{# Measured datasets #}
{%- set measuredDataPath = [measuredPath, uuids.measuredYesAUuid, uuids.measuredDataQUuid]|reply_path -%}
Expand Down
2 changes: 1 addition & 1 deletion template.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"organizationId": "dsw",
"templateId": "science-europe",
"version": "1.4.0",
"version": "1.4.1",
"name": "Science Europe DMP Template",
"description": "Default DCC DMP Template recommended by Science Europe",
"license": "Apache-2.0",
Expand Down

0 comments on commit 6025f02

Please sign in to comment.