diff --git a/conditor-dumps/02-download.ini b/conditor-dumps/02-download.ini index 2602606..c1bec0e 100644 --- a/conditor-dumps/02-download.ini +++ b/conditor-dumps/02-download.ini @@ -63,7 +63,7 @@ value = get("authors").map("affiliations").flatten().map("ApilRnsr").flatten() [assign] -path = allRnsr +path = ApilAllRnsr value = get("allAuthorsRnsr").concat(self.allApilRnsr).uniq().filter(Boolean) # Garde un identifiant diff --git a/conditor-dumps/04-enrich.ini b/conditor-dumps/04-enrich.ini index 49e1b97..2a3b417 100644 --- a/conditor-dumps/04-enrich.ini +++ b/conditor-dumps/04-enrich.ini @@ -18,7 +18,7 @@ # Récupère les infos Loterre 2XK [map/map/assign] path = ws.loterre2xk -value = get("ApilRnsr") +value = get("ApilAllRnsr") [map/map/expand] path = ws.loterre2xk @@ -38,7 +38,7 @@ # Récupère les informations [map/map/assign] -# Les éléments de ws.loterre2xk sont dans le même ordre que ApilRnsr, +# Les éléments de ws.loterre2xk sont dans le même ordre que ApilAllRnsr, # et il y en a autant. path = ApilWsLaboIntitule value = get("ws.loterre2xk").castArray().filter(Boolean).filter(x => (typeof x !== 'string') ) \ @@ -53,10 +53,6 @@ value = get("authors").flatMap("affiliations").flatMap("ApilWsLaboIntitule").uniq() [assign] -# Concatène et dédoublonne tous les RNSR -path = ApilRnsr -value = get("authors").flatMap("affiliations").flatMap("ApilRnsr").uniq() - # Supprime les accents et met en majuscules path = tmp.ApilWsLaboIntitule value = get("ApilWsLaboIntitule").castArray().filter(Boolean) \ @@ -79,7 +75,7 @@ [assign] path = ApilWsInstitutCnrs -value = get("ApilRnsr").castArray().filter(Boolean) \ +value = get("ApilAllRnsr").castArray().filter(Boolean) \ .map((rnsr, id) => ({ \ id, \ value: `${rnsr}|${self.ApilPublicationDate}` \