Skip to content

Instantly share code, notes, and snippets.

View adlvdl's full-sized avatar

Antonio de la Vega de Leon adlvdl

View GitHub Profile
@adlvdl
adlvdl / gemini_mmp.py
Created May 5, 2025 11:14
Results of Gemini prompt asking for a Python program to obtain MMPs
# Import necessary libraries
import pandas as pd
from rdkit import Chem
from rdkit.Chem import rdMMPA
from collections import defaultdict
import logging
# Configure logging
logging.basicConfig(level=logging.INFO, format='%(asctime)s - %(levelname)s - %(message)s')