-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Currently, all projects are hardcoded in ingestor.py:
historical_journals = ['BuAst', 'OSUC.', 'BuChr', 'DurOO', 'POPot', 'GOAM.', 'PGenA', 'JBAA.', 'AnHar', 'ViHei', 'AnGVP', 'MiGoe', 'PA...', 'PSprO', 'MMAAR', 'VeLdn',
'BuAsR', 'VeJen', 'MelAR', 'AnLL.', 'HarCi', 'PWasO', 'MiPul', 'DAOAR', 'BuAsI', 'BKUJ.', 'KVeBB', 'AnBog', 'OxfOO', 'PAICU', 'MadOO', 'LicOB', 'YerOB', 'AFChr',
'DunOP', 'AnBos', 'AnBor', 'VeBam', 'VeHei', 'CiUO.', 'RGOO.', 'POBol', 'MadOb', 'VeABD', 'PUSNO', 'MiSon', 'BTasO', 'VeBab', 'USNOY', 'Astr.', 'AnTou', 'ABSBe',
'PWHHO', 'USNOO', 'USNOM', 'MiBre', 'PAIKH', 'HarAR', 'AnEdi', 'AnMuS', 'OAORP', 'POslO', 'PUAms', 'KNAB.', 'WilOO', 'MelOO', 'AnAth', 'LowOB', 'HarRe', 'AnSWi',
'PCinO', 'VatRA', 'PTarO', 'AAHam', 'RAROC', 'CMWCI', 'MmBAA', 'VeMun', 'MiHam', 'PDDO.', 'POMil', 'MWOAR', 'AnCoi', 'AnBes', 'BUBes', 'USNOA', 'POMic', 'CoRut',
'AOTok', 'PLicO', 'ROCi.', 'PGooO', 'HelOB', 'TrTas', 'RAOU.', 'PCooO', 'AbbOO', 'YalRY', 'PYerO', 'RMROC', 'PTasO', 'GOAMM', 'YalOY', 'AnMun', 'AnOBN', 'BMOE.',
'TOYal', 'AnOSt', 'PGro.', 'AnLun', 'MiZur', 'HarOR', 'VeBB.', 'MNSSA', 'AnLei', 'PODE.', 'BSAFR', 'AnLuS', 'MmMtS', 'AnCap', 'HarPa', 'MtWAR', 'BSBA.', 'TsTas',
'AnSAO', 'VatPS', 'BESBe', 'BuBIH', 'AnWiD', 'MmSS.', 'VeLei', 'MmSSI', 'SidM.', 'PVasO', 'LAstr', 'PKUJ.', 'OSFOT', 'RNAO.', 'PDAO.', 'AnOB.', 'WinAR', 'AnWie',
'VeKAB', 'PMcCO', 'AnPOb', 'GORO.', 'TvOC.', 'SRMO.', 'RGAO.', 'TIUCS', 'PF+CO', 'LPlaS', 'BKAD.', 'IORA.', 'PRCO.', 'MNSSJ', 'CoPri', 'StoAn', 'POLyo', 'PPCAS',
'AnLow', 'AReg.', 'AnPar', 'CoLic', 'AnDea', 'PLPla', 'IORP.', 'CoKon', 'KodOB', 'YalAR', 'PDO..', 'AnNic', 'LawOB', 'TOMar', 'PCopO', 'VeBon', 'PLAGL', 'PAAS.',
'GVPOO', 'AnBru', 'CoMtW', 'VeGoe', 'MmArS', 'PKirO', 'AnRio', 'MmArc', 'MmEbr', 'AnStr', 'GazA.', 'AnOLL', 'ABMun', 'IORAS', 'BuLyo', 'SydOP']
phaedra_journals = ['phae.']
This really belongs in config.py. If another project were to be added in the future, this should be just a configuration update.
Proposal: config.py should have something like
PROJECTS = {"project 1":[ list of bibstems], "project 2":[ list of bibstems], ...}
Grab this from the configuration and invert the dictionary to a bibstem to project mapping.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request