Auerbach-Lab/Behavior-autoanalysis

Recovery bootstrapping

Opened this issue · 1 comments

[ ] Make rat_archive backup alongside run_archive so they can be restored in tandem instead of requiring manual editing of rat_archive to restore already-cleared current assignments
[ ] Simplify rProj bootstrapping so that projects_folder, then intialize_main and load_packages then running app.R all handles automatically from whatever file is used normally by undergraduates --- and then simplify process to opening that file instead of using rProj at all - probably a short helper piedpiper.R file
[ ] get of duplicate code snippets in admin tools like load environment.R and replace them with direct calls to the relevant functions - if necessary to extract because private helper function, then extract to independent file and call that inside main instead of the other way around

Note that almost all of the scripts, such as supervisor summary, etc, require projects_folder, so not sure if there is an elegant solutions such as having all the scripts call a settings file or something.