From 708fa90d299f98da5a5a77d125c80c4fbf31ec11 Mon Sep 17 00:00:00 2001 From: Marty Oehme Date: Sat, 9 Dec 2023 21:54:26 +0100 Subject: [PATCH] chore(script): Refactor file top imports --- scoping_review.qmd | 20 +++++++------------- 1 file changed, 7 insertions(+), 13 deletions(-) diff --git a/scoping_review.qmd b/scoping_review.qmd index 4db9a42..64e5330 100644 --- a/scoping_review.qmd +++ b/scoping_review.qmd @@ -24,14 +24,6 @@ zotero: ```{python} #| echo: false from pathlib import Path - -from bibtexparser.model import Field -DATA_DIR=Path("./02-data") -RAW_DATA=DATA_DIR.joinpath("raw") -WORKING_DATA=DATA_DIR.joinpath("intermediate") -PROCESSED_DATA=DATA_DIR.joinpath("processed") -SUPPLEMENTARY_DATA=DATA_DIR.joinpath("supplementary") - ## standard imports from IPython.core.display import Markdown as md import numpy as np @@ -39,14 +31,16 @@ import pandas as pd from matplotlib import pyplot as plt import seaborn as sns from tabulate import tabulate +import bibtexparser +from bibtexparser.model import Field sns.set_style("whitegrid") -``` -```{python} -#| echo: false -# load and parse overall bibtex sample -import bibtexparser +DATA_DIR=Path("./02-data") +RAW_DATA=DATA_DIR.joinpath("raw") +WORKING_DATA=DATA_DIR.joinpath("intermediate") +PROCESSED_DATA=DATA_DIR.joinpath("processed") +SUPPLEMENTARY_DATA=DATA_DIR.joinpath("supplementary") bib_string="" for partial_bib in RAW_DATA.glob("**/*.bib"):