Commit 45814155 authored by Maxime Chaillet's avatar Maxime Chaillet

update this branch from master

parents 02af2a1f f9954d6d
This diff is collapsed.
......@@ -169,7 +169,7 @@ function extractFieldsFromCategories(data) {
function extractFieldsFromDoi(data) {
//extract the investigationId from the doi.
var regExp = RegExp(/\/\w*-*[Ee][Ss][Rr][Ff]-[Ee][Ss]-(\d+)$/);
data.investigationId = regExp.exec(data.DOI)[2];
data.investigationId = regExp.exec(data.DOI)[1];
// Create the citation for the current work. Citation proposes a recommendation to the reader
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment