stfc / janus

collection of scripts to train and generate data for machine learnt interatomic potentials
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Improve directory inputs to example workflow #6

Closed ElliottKasoar closed 1 year ago

ElliottKasoar commented 1 year ago

In the example workflow, n2p2_sub_directories could be defined earlier with the initial Executables, filepaths, etc.. This would make moving into the later sections more straightforward, as it would be clearer when creating input.nn etc. how the n2p2 directory/directories can be set.

n2p2_sub_directories could then also be used when (optionally) creating the dataset in LAMMPS Validation, reducing the current hardcoding. lammps_sub_directory could be defined and used similarly, as while dataset.write takes the LAMMPS directory as an input in the workflow, controller.write_extrapolations_lammps_script does not use this, instead using lammps_sub_directory as defined for the controller, which is not immediately obvious.