chore(repo): Move references to reference data dir
Begin restructuring data dir by separating out references into their own data sub-dir containing only references and bibtex files.
This commit is contained in:
parent
2a1fc9611f
commit
4f9acd0816
177 changed files with 77679 additions and 40 deletions
|
|
@ -32,17 +32,7 @@ sns.set_style("whitegrid")
|
|||
|
||||
from src import globals as g
|
||||
|
||||
bib_string=""
|
||||
for partial_bib in g.RAW_DATA.glob("**/*.bib"):
|
||||
with open(partial_bib) as f:
|
||||
bib_string+="\n".join(f.readlines())
|
||||
bib_sample_raw_db = bibtexparser.parse_string(bib_string)
|
||||
|
||||
bib_string=""
|
||||
for partial_bib in g.WORKING_DATA.glob("**/*.bib"):
|
||||
with open(partial_bib) as f:
|
||||
bib_string+="\n".join(f.readlines())
|
||||
bib_sample = bibtexparser.parse_string(bib_string)
|
||||
from src.process.generate_dataframes import bib_sample_raw_db, bib_sample
|
||||
|
||||
# load relevant studies
|
||||
from src.extract import load_data
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue