Remove duplicated read_yaml_file function
This commit is contained in:
@ -194,15 +194,6 @@ void data_lammps(LAMMPS_NS::LAMMPS *lmp, const TestConfig &cfg)
|
||||
|
||||
// read/parse yaml file
|
||||
|
||||
bool read_yaml_file(const char *infile, TestConfig &config)
|
||||
{
|
||||
auto reader = TestConfigReader(config);
|
||||
if (reader.parse_file(infile))
|
||||
return false;
|
||||
|
||||
config.basename = reader.get_basename();
|
||||
return true;
|
||||
}
|
||||
|
||||
// re-generate yaml file with current settings.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user