@classmethod
def from_file(cls, name, input_template, user_settings, lammps_data=None, data_filename='in.data'):
    '\n        Returns LammpsInputSet from  input file template and input data.\n\n        Args:\n            name (str)\n            input_template (string): path to the input template file.\n            user_settings (dict): User lammps settings, the keys must\n                correspond to the keys in the template.\n            lammps_data (string/LammpsData): path to the\n                data file or an appropriate object\n            data_filename (string): name of the the lammps data file.\n\n        Returns:\n            LammpsInputSet\n        '
    user_settings['data_file'] = data_filename
    lammps_input = LammpsInput.from_file(input_template, user_settings)
    if isinstance(lammps_data, six.string_types):
        lammps_data = LammpsData.from_file(lammps_data)
    return cls(name, lammps_input, lammps_data=lammps_data, data_filename=data_filename)
Returns LammpsInputSet from  input file template and input data.

Args:
    name (str)
    input_template (string): path to the input template file.
    user_settings (dict): User lammps settings, the keys must
        correspond to the keys in the template.
    lammps_data (string/LammpsData): path to the
        data file or an appropriate object
    data_filename (string): name of the the lammps data file.

Returns:
    LammpsInputSet
@classmethod
def from_file(cls, name, input_template, user_settings, lammps_data=None, data_filename='in.data'):
    '\n        Returns LammpsInputSet from  input file template and input data.\n\n        Args:\n            name (str)\n            input_template (string): path to the input template file.\n            user_settings (dict): User lammps settings, the keys must\n                correspond to the keys in the template.\n            lammps_data (string/LammpsData): path to the\n                data file or an appropriate object\n            data_filename (string): name of the the lammps data file.\n\n        Returns:\n            LammpsInputSet\n        '
    user_settings['data_file'] = data_filename
    lammps_input = LammpsInput.from_file(input_template, user_settings)
    if isinstance(lammps_data, six.string_types):
        lammps_data = LammpsData.from_file(lammps_data)
    return cls(name, lammps_input, lammps_data=lammps_data, data_filename=data_filename)