karigauta / ADAM_tools

Tools for making life with ADAM faster
0 stars 1 forks source link

Fix .dir files #1

Open karigauta opened 7 years ago

karigauta commented 7 years ago

Make a script that fixes .dir scripts which are rendered unusable by changing of input.prm files

Script should work recursively and figure out the number of traits and check against the .dir file

If the dir file is not correct, it should make a new dir file which corresponds to the input.prm file

karigauta commented 7 years ago

This script should be able to make dir files from scratch, by reading the prm file or to update the dir file after changes have been made in the prm file

karigauta commented 7 years ago

Current version is sort of an alpha, it can handle cases where the number of traits is reduced. Still need to make the module where traits are increased in number