From 5f9383b2d9b9678e4a4945b50283da89aa9fc709 Mon Sep 17 00:00:00 2001 From: "miriam.baglioni" Date: Fri, 11 Nov 2022 14:06:19 +0100 Subject: [PATCH] [EOSC TAG] remove reduntant check for jupyter notebook --- .../java/eu/dnetlib/dhp/bulktag/eosc/SparkEoscTag.java | 7 ------- 1 file changed, 7 deletions(-) diff --git a/dhp-workflows/dhp-enrichment/src/main/java/eu/dnetlib/dhp/bulktag/eosc/SparkEoscTag.java b/dhp-workflows/dhp-enrichment/src/main/java/eu/dnetlib/dhp/bulktag/eosc/SparkEoscTag.java index 501fdf50e1..b917d3980a 100644 --- a/dhp-workflows/dhp-enrichment/src/main/java/eu/dnetlib/dhp/bulktag/eosc/SparkEoscTag.java +++ b/dhp-workflows/dhp-enrichment/src/main/java/eu/dnetlib/dhp/bulktag/eosc/SparkEoscTag.java @@ -199,13 +199,6 @@ public class SparkEoscTag { return false; if (s.getSubject().stream().anyMatch(sbj -> sbj.getValue().toLowerCase().contains("jupyter"))) return true; - if (s - .getSubject() - .stream() - .anyMatch( - sbj -> sbj.getValue().toLowerCase().contains("python") && - sbj.getValue().toLowerCase().contains("notebook"))) - return true; if (s.getSubject().stream().anyMatch(sbj -> sbj.getValue().toLowerCase().contains("python")) && s.getSubject().stream().anyMatch(sbj -> sbj.getValue().toLowerCase().contains("notebook"))) return true;