tried again to fix issue for croatian funder
This commit is contained in:
parent
9841086ef3
commit
5d92df0627
|
@ -116,7 +116,7 @@ public class SparkDumpFunderResults implements Serializable {
|
||||||
}
|
}
|
||||||
for (Project p : r.getProjects()) {
|
for (Project p : r.getProjects()) {
|
||||||
if (p.getId().startsWith(nsp)) {
|
if (p.getId().startsWith(nsp)) {
|
||||||
if (nsp.equals("40|irb")) {
|
if (nsp.startsWith("40|irb")) {
|
||||||
if (p.getFunder().getShortName().equals(funderName))
|
if (p.getFunder().getShortName().equals(funderName))
|
||||||
return r;
|
return r;
|
||||||
else
|
else
|
||||||
|
@ -137,11 +137,11 @@ public class SparkDumpFunderResults implements Serializable {
|
||||||
private static void writeFunderResult(String funder, Dataset<CommunityResult> results, String outputPath,
|
private static void writeFunderResult(String funder, Dataset<CommunityResult> results, String outputPath,
|
||||||
String funderDump) {
|
String funderDump) {
|
||||||
|
|
||||||
if (funder.equals("40|irb")) {
|
if (funder.startsWith("40|irb")) {
|
||||||
dumpResults(funder, results, outputPath, "CSF", "HRZZ");
|
dumpResults(funder, results, outputPath, "CSF", "HRZZ");
|
||||||
dumpResults(funder, results, outputPath, "MSES", "MZOS");
|
dumpResults(funder, results, outputPath, "MSES", "MZOS");
|
||||||
} else
|
} else
|
||||||
dumpResults(funder, results, outputPath, funderDump, null);
|
dumpResults(funder, results, outputPath, funderDump, funderDump);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue