From 4d3e5fbc234fef36694fe882029ef5e0f3821a3e Mon Sep 17 00:00:00 2001 From: Daniel Tomlinson Date: Mon, 27 Sep 2021 23:58:19 +0100 Subject: [PATCH] updating latest beam pipeline with default inputs --- analyse_properties/main.py | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/analyse_properties/main.py b/analyse_properties/main.py index a4f347c..6d43e9d 100644 --- a/analyse_properties/main.py +++ b/analyse_properties/main.py @@ -286,20 +286,12 @@ def run(argv=None, save_main_session=True): """Entrypoint and definition of the pipeline.""" logging.getLogger().setLevel(logging.INFO) - # Default input/output files + # Default input/output files when ran from base of repo with files in ./data input_file = ( - pathlib.Path(__file__).parents[1] - / "data" - / "input" - / "pp-2020.csv" - # / "pp-complete.csv" + pathlib.Path("./data/input/pp-2020.csv") ) output_file = ( - pathlib.Path(__file__).parents[1] - / "data" - / "output" - / "pp-2020" - # / "pp-complete" + pathlib.Path("./data/output/pp-2020") ) # Arguments