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){
|
||||
if (containsCriteriaNotebook(s)) {
|
||||
public static <R extends Result> R tagForSoftware(R s){
|
||||
if (!Optional.ofNullable(s.getEoscifguidelines()).isPresent())
|
||||
s.setEoscifguidelines(new ArrayList<>());
|
||||
if (containsCriteriaNotebook(s)) {
|
||||
addEIG(
|
||||
s.getEoscifguidelines(), EOSC_JUPYTER_NOTEBOOK, EOSC_JUPYTER_NOTEBOOK, "",
|
||||
COMPLIES_WITH);
|
||||
|
||||
}
|
||||
if (containsCriteriaGalaxy(s)) {
|
||||
if (!Optional.ofNullable(s.getEoscifguidelines()).isPresent())
|
||||
s.setEoscifguidelines(new ArrayList<>());
|
||||
|
||||
addEIG(
|
||||
s.getEoscifguidelines(), EOSC_GALAXY_WORKFLOW, EOSC_GALAXY_WORKFLOW, "", COMPLIES_WITH);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue