Commit 01a43643 authored by Maxime Chaillet's avatar Maxime Chaillet

Reactivate investigationId retrieval. It fixes #55.

parent dcceb909
This diff is collapsed.
......@@ -9,8 +9,7 @@ function JsonExtractor(json) {
*/
JsonExtractor.prototype.extractInvestigationId = function (data) {
var regExp = RegExp(/\/\w*-*[Ee][Ss][Rr][Ff]-[Ee][Ss]-(\d+)$/);
//return regExp.exec( data.doi )[1];
return "investigationId";
return regExp.exec( data.doi )[1];
};
/**
......
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