forked from D-Net/dnet-hadoop
This commit is contained in:
parent
6cc95c96a2
commit
697a134504
|
@ -71,19 +71,15 @@ public class SparkEoscTag {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public static <R extends Result> R tagForSoftware(Result s){
|
public static <R extends Result> R tagForSoftware(R s){
|
||||||
if (containsCriteriaNotebook(s)) {
|
|
||||||
if (!Optional.ofNullable(s.getEoscifguidelines()).isPresent())
|
if (!Optional.ofNullable(s.getEoscifguidelines()).isPresent())
|
||||||
s.setEoscifguidelines(new ArrayList<>());
|
s.setEoscifguidelines(new ArrayList<>());
|
||||||
|
if (containsCriteriaNotebook(s)) {
|
||||||
addEIG(
|
addEIG(
|
||||||
s.getEoscifguidelines(), EOSC_JUPYTER_NOTEBOOK, EOSC_JUPYTER_NOTEBOOK, "",
|
s.getEoscifguidelines(), EOSC_JUPYTER_NOTEBOOK, EOSC_JUPYTER_NOTEBOOK, "",
|
||||||
COMPLIES_WITH);
|
COMPLIES_WITH);
|
||||||
|
|
||||||
}
|
}
|
||||||
if (containsCriteriaGalaxy(s)) {
|
if (containsCriteriaGalaxy(s)) {
|
||||||
if (!Optional.ofNullable(s.getEoscifguidelines()).isPresent())
|
|
||||||
s.setEoscifguidelines(new ArrayList<>());
|
|
||||||
|
|
||||||
addEIG(
|
addEIG(
|
||||||
s.getEoscifguidelines(), EOSC_GALAXY_WORKFLOW, EOSC_GALAXY_WORKFLOW, "", COMPLIES_WITH);
|
s.getEoscifguidelines(), EOSC_GALAXY_WORKFLOW, EOSC_GALAXY_WORKFLOW, "", COMPLIES_WITH);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue