//set default location to search for files to mothur's executable location. This will resolve issue of double-clicking on the executable which opens mothur and sets pwd to your home directory instead of the mothur directory and leads to "unable to find file" errors.
- if (path != "") { mout->setDefaultPath(path); }
+ if (mout->mothurProgramPath != "") { mout->setDefaultPath(mout->mothurProgramPath); }
//set default location to search for files to mothur's executable location. This will resolve issue of double-clicking on the executable which opens mothur and sets pwd to your home directory instead of the mothur directory and leads to "unable to find file" errors.
- if (path != "") { mout->setDefaultPath(path); }
+ if (mout->mothurProgramPath != "") { mout->setDefaultPath(mout->mothurProgramPath); }
0 comments on commit
eb421b4