USFS-PNW / Fia-Biosum-Manager

User interface and main code repository for Biosum
http://biosum.info/
Other
3 stars 3 forks source link

FVS: Version control for biosum_keywords.kcp.template #373

Open druepdx opened 2 days ago

druepdx commented 2 days ago

Currently, edits to the template are overwritten when FVSIn is run. @lbross's suggestion to combat this is the following:

  1. Check to see if the file is already in the 'copy to' location in the validation section before the process starts to run. That way BioSum doesn't prompt multiple times for multiple variants.
  2. If it is, pop a messageBox asking the user if they want to overwrite
  3. If they say yes, save the old copy off with a timestamp
  4. If no, then skip the copying
jsfried commented 2 days ago

That sounds like a great solution-- thanks!