Files
ASE/utils/parsers/g801_mums.py
2025-05-03 15:40:58 +02:00

14 lines
450 B
Python

#!.venv/bin/python
# Import necessary modules
from utils.database.loader import load_data
from utils.parsers.data_preparation import make_matrix
import logging
logger = logging.getLogger(__name__)
# Define the main function for loading data
def main_loader(cfg: object, id: int) -> None:
# Create a matrix of values from the data
matrice_valori = make_matrix(cfg, id)
# Load the data into the database
load_data(cfg, matrice_valori)