Collect explicit public ICLR decisions and refresh metadata indexes
Metadata integrity checks / metadata (push) Successful in 2s
Metadata integrity checks / metadata (push) Successful in 2s
This commit is contained in:
+2
-2
@@ -33,8 +33,8 @@ def ingest_file(db,path):
|
||||
raise ValueError('Duplicate external ID in one collected file: '+external)
|
||||
seen.add(external)
|
||||
paper,record = store.record(source_name,external,row['url'],row['title'],row.get('abstract'),row.get('authors',[]),row.get('identifiers'),row.get('metadata'))
|
||||
if row.get('status') == 'accepted':
|
||||
edition = store.accepted(paper,record,row['venue'],row['year'],row['track'],external,row['url'])
|
||||
if row.get('status') in ('accepted','rejected','desk_rejected','withdrawn','under_review','unknown'):
|
||||
edition = store.decision(paper,record,row['venue'],row['year'],row['track'],external,row.get('evidence_url',row['url']),row['status'],row.get('raw_decision','listed in official proceedings' if source_name=='pmlr' else row['status']))
|
||||
editions.add(edition)
|
||||
else:
|
||||
raise ValueError('This importer requires an explicit supported decision status')
|
||||
|
||||
Reference in New Issue
Block a user