Valmbd commited on
Commit
73bc3db
Β·
verified Β·
1 Parent(s): a467c34

Fix: export PETIMOT_ROOT from data_loader.py

Browse files
Files changed (1) hide show
  1. app/utils/data_loader.py +3 -0
app/utils/data_loader.py CHANGED
@@ -8,6 +8,9 @@ import logging
8
 
9
  logger = logging.getLogger(__name__)
10
 
 
 
 
11
  # ── Cache the zip namelist for fast lookups ──
12
  _zip_namelist_cache = {}
13
 
 
8
 
9
  logger = logging.getLogger(__name__)
10
 
11
+ # ── Root path (importable by pages) ──
12
+ PETIMOT_ROOT = os.path.dirname(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
13
+
14
  # ── Cache the zip namelist for fast lookups ──
15
  _zip_namelist_cache = {}
16