From 0903f0d96c5b7153898d92e3e01f184b9cbced0d Mon Sep 17 00:00:00 2001 From: finlayclark Date: Wed, 19 Jun 2024 16:34:03 +0100 Subject: [PATCH] Ensure that all notebooks are found and run by 'make analyse' --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 8ba5627..26e7bc3 100644 --- a/Makefile +++ b/Makefile @@ -2,10 +2,10 @@ PACKAGE_NAME := a3fe_reproduce CONDA_ENV_RUN := conda run --no-capture-output --name $(PACKAGE_NAME) ANALYSIS_DIRS := $(wildcard analysis/*) -ANALYSIS_NBS := $(wildcard $(ANALYSIS_DIRS)/*analysis.ipynb) +ANALYSIS_NBS := $(shell find $(ANALYSIS_DIRS) -name '*analysis.ipynb') ANALYSIS_OUTPUT_DIRS := $(ANALYSIS_DIRS:%=%/final_analysis) -.PHONY: env test-analysis clean +.PHONY: env analysis clean env: mamba create --name $(PACKAGE_NAME)