<commit_before>"""
Contains base utility class to generate an openmm System
object from the topology proposal
"""
import simtk.openmm as openmm


class SystemGenerator(object):
    """
    This is the base class for utility functions that generate a System
    object from TopologyProposal namedtuple

    Arguments
    ---------
    proposal : TopologyProposal namedtuple
        Contains the proposed new topology and metadata

    Properties
    ----------
    complex_system : simtk.openmm.System object, read only
        The system object for the complex
    ligand_system : simtk.openmm.System object, read-only
        The system object for the ligand
    """

    def __init__(self, proposal):
        pass

    @property
    def complex_system(self):
        return openmm.System()

    @property
    def ligand_system(self):
        return openmm.System()<commit_msg>changed SystemGenerator to use only one object<commit_after>"""
Contains base utility class to generate an openmm System
object from the topology proposal
"""
import simtk.openmm as openmm


class SystemGenerator(object):
    """
    This is the base class for utility functions that generate a System
    object from TopologyProposal namedtuple

    Arguments
    ---------
    metadata : dict
        contains metadata (such as forcefield) for system creation
    """

    def __init__(self, metadata):
        pass

    def new_system(self, top_proposal):
        """
	Create a system with ligand and protein

	Arguments
	---------
	top_proposal : TopologyProposal namedtuple
	    Contains the topology of the new system to be made
	
	Returns
	-------
	system : simtk.openmm.System object
	    openmm System containing the protein and ligand(s)
	"""
        return openmm.System()
{'fraction_non_alphanumeric': 0.07722884724588303, 'fraction_numerical': 0.0, 'mean_word_length': 2.781115879828326, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6232092', 'n_tokens_mistral': 461, 'n_tokens_neox': 434, 'n_words': 178}