@staticmethod
def _get_seedname_from_input_filename(input_filename):
    """
        Return the seedname given the input filename

        Raises a ValueError if the input filename does not end with .win.
        """
    input_suffix = '.win'
    if input_filename.endswith(input_suffix):
        return input_filename[:-len(input_suffix)]
    raise ValueError(
        "The input filename '{}' does not end with '{}', so I don't know how to get the seedname"
        .format(input_filename, input_suffix))
