def getProducts(products_list):
    """Reads products from the SBML file and returns a dictionnary"""
    final_products = {}
    for prod in products_list:
        products = prod.getElementsByTagName("speciesReference")
        for p in products:
            final_products[p.getAttribute("species")] = float(
                p.getAttribute("stoichiometry")
            )
    return final_products