def unlabeled_smiles_max_length(unlabeled_smiles, maximum_length_smiles):
    """
    Checks whether the unlabeled SMILES for prediction is longer than the longest SMILES in the training dataset.

    Parameters
    ----------
    unlabeled_smiles : str
        SMILES string describing a compound.

    maximum_length_smiles : int
        The longest SMILES in the dataset on which the model was trained on.
    """
    if len(unlabeled_smiles) > maximum_length_smiles:
        raise ValueError("The SMILES is too long for this model. Program aborting")
    else:
        return None