CONTEXT
During installation Biobash checks (in setup_environment) that the BIOBASH_HOME is not pre-existent in bashrc.
This is a way of checking that we are not going to mess pre-existent variables in the bashrc file. so if it detects the BIOBASH_HOME variable in the .bashrc it stops the installation.
ISSUE
The problem is that it performs that action after the user has answered a lot of questions and has been going far in installation.
BB should check for this at the very beginning.
POSSIBLE SOLUTION
Move the code in setup_environment (lines 56 to 77) to installbiobash line 49. It should work.and user experience will improve a lot.
CONTEXT During installation Biobash checks (in setup_environment) that the BIOBASH_HOME is not pre-existent in bashrc. This is a way of checking that we are not going to mess pre-existent variables in the bashrc file. so if it detects the BIOBASH_HOME variable in the .bashrc it stops the installation.
ISSUE The problem is that it performs that action after the user has answered a lot of questions and has been going far in installation. BB should check for this at the very beginning.
POSSIBLE SOLUTION Move the code in setup_environment (lines 56 to 77) to installbiobash line 49. It should work.and user experience will improve a lot.