-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSnakefile
More file actions
35 lines (27 loc) · 1.07 KB
/
Snakefile
File metadata and controls
35 lines (27 loc) · 1.07 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Snakefile
# Load configuration
configfile: "config/config.yaml"
# Data paths
RAW_DATA = "data/raw_data"
DERIVED_DATA = "data/derived_data"
PLOTS_PATH = "data/plots"
# Set routing engine from config
ROUTING_ENGINE = config.get("routing_engine", "valhalla") # Default to valhalla if not specified
# Update the all rule to include all outputs
rule all:
input:
DERIVED_DATA + "/workflow/flats_duration_clustering_iso.gpkg",
DERIVED_DATA + "/workflow/flats_duration_clustering_ors.gpkg",
DERIVED_DATA + "/workflow/flats_duration_opt.gpkg",
PLOTS_PATH + "/workflow/method_comparison_table.tex",
PLOTS_PATH + "/workflow/map_clustering_iso.html",
DERIVED_DATA + "/workflow/method_comparison.csv",
# Main workflow rules
include: "rules/data_preparation.smk"
include: "rules/optimisation_rules.smk"
# Analysis for number of facilities
include: "rules/p_analysis_rules.smk"
# Sensitivity analysis rules
include: "rules/sensitivity_rules.smk"
# Euclidean distance analysis rules (separate workflow)
include: "rules/euclidean_analysis_rules.smk"