def get_cp_cmd(script,
               config_path,
               data_path,
               dataset_type):
    """
    Get the string for a ChemProp command.
    Args:
      script (str): the path to the chemprop script you're running
      config_path (str): path to the config file for the job
      data_path (str): path to the dataset being used
      dataset_type (str): type of problem you're doing (e.g. regression,
        classification, multiclass)
    Returns:
      cmd (str): the chemprop command
    """

    cmd = (f"python {script} --config_path {config_path} "
           f" --data_path {data_path} "
           f" --dataset_type {dataset_type}")
    return cmd