From 8d0781b43923f4e51cd469c2635f4641c31edb06 Mon Sep 17 00:00:00 2001 From: Anita Caron Date: Thu, 22 Feb 2024 15:46:46 +0000 Subject: [PATCH] fix path to python script --- src/ontology/vccf.Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ontology/vccf.Makefile b/src/ontology/vccf.Makefile index ecb96d5..bce9ef2 100644 --- a/src/ontology/vccf.Makefile +++ b/src/ontology/vccf.Makefile @@ -9,7 +9,7 @@ $(TMPDIR)/vessel.csv: wget $(VESSEL_CSV) -O $@ $(PATTERNDIR)/data/default/vessel.tsv $(TEMPLATEDIR)/vessel_relation.tsv: $(TMPDIR)/vessel.csv - python $(SCRIPTSDIR)/etl/vessel_ETL.py --input $< --pattern $@ --template $(TEMPLATEDIR)/vessel_relation.tsv + cd .. && python script/etl/vessel_ETL.py --input $< --pattern $@ --template $(TEMPLATEDIR)/vessel_relation.tsv update_vessel_data: $(PATTERNDIR)/data/default/vessel.tsv @@ -19,7 +19,7 @@ $(TMPDIR)/vessel_organ_crosswalk.csv: wget $(VESSEL_ORGAN_CROSSWALK) -O $@ $(TEMPLATEDIR)/vessel_organ_crosswalk.tsv: $(TMPDIR)/vessel_organ_crosswalk.csv - python $(SCRIPTSDIR)/etl/vessel_organ_crosswalk_ETL.py --input $< --template $@ --vessels $(PATTERNDIR)/data/default/vessel.tsv + cd .. & python script/etl/vessel_organ_crosswalk_ETL.py --input $< --template $@ --vessels $(PATTERNDIR)/data/default/vessel.tsv .PHONY: update_vessel_organ_crosswalk update_vessel_organ_crosswalk: $(TEMPLATEDIR)/vessel_organ_crosswalk.tsv