#!/bin/bash
# shellcheck disable=SC2090,SC2086,SC2089,SC1091

#! Get the date and time
DATETIME=$(date '+%Y%m%d_%H%M%S')
mkdir -p "$mt_dao_SAVE_PATH"/"$DATETIME"

#! Run Hydra resolver
HYDRA_FULL_ERROR=1 uv run python -m mt_dao.hydra_resolver \
	$EXTERNAL_CONFIGS \
	hydra/job_logging=none hydra/hydra_logging=none >"$mt_dao_SAVE_PATH/$DATETIME"/hydra_resolver.log 2>&1

echo "hydra_resolver.sh: Hydra configuration has been interpreted."
