diff --git a/detect-cnrs.ini b/detect-cnrs.ini index 2aec0c6..8a1252b 100644 --- a/detect-cnrs.ini +++ b/detect-cnrs.ini @@ -11,15 +11,8 @@ [JSONParse] [assign] -path = ws.cnrsAffiliations -value = get('affiliations').filter(a => a.includes('CNRS') || a.includes('UMR')) - -[assign] path = ws.cnrs -value = get('ws.cnrsAffiliations', []).thru(affiliations => affiliations.length ? "oui" : "non") - -[exchange] -value = omit('ws.cnrsAffiliations') +value = get('affiliations').filter(a => a.includes('CNRS') || a.includes('UMR')).thru(affiliations => affiliations.length ? "oui" : "non") [dump] indent = true