From 0f6a5a05c1f6096879b7d9de9cd8fbbe02962177 Mon Sep 17 00:00:00 2001 From: Lee de Mora Date: Fri, 7 Jun 2024 15:19:37 +0100 Subject: [PATCH] debug --- bgcval2/bgcvaltools/removeMaskFromshelve.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/bgcval2/bgcvaltools/removeMaskFromshelve.py b/bgcval2/bgcvaltools/removeMaskFromshelve.py index 3172818..a4af72e 100644 --- a/bgcval2/bgcvaltools/removeMaskFromshelve.py +++ b/bgcval2/bgcvaltools/removeMaskFromshelve.py @@ -34,6 +34,8 @@ from shelve import open as shOpen from glob import glob +from bgcval2._runtime_config import get_run_configuration + def removeFromShelves(fn, removeRegions): print('removing:', removeRegions, 'from', fn) @@ -54,8 +56,7 @@ def removeFromShelves(fn, removeRegions): -def main(): - +def main(config_user=None): # get runtime configuration if config_user: