From 282bbaef60f06cf573c868196d79a0d045b1309d Mon Sep 17 00:00:00 2001 From: Kristin <kberry@usgs.gov> Date: Fri, 31 Jul 2020 14:09:23 -0700 Subject: [PATCH] Update README.md to indicate that isis3VarInit.py is still the script name to use for the current relelase (#3962) * Update README.md * fixed formatting * typo * formatting again * Update based on feedback --- README.md | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index af22d34ca8..46a76231d5 100644 --- a/README.md +++ b/README.md @@ -89,16 +89,25 @@ This installation guide is for ISIS users interested in installing ISIS (3.6.0)+ 7. Finally, setup the environment variables: - #Execute the ISIS variable initialization script with default arguments. - #This script prepares default values for: $ISISROOT, $ISISDATA, $ISISTESTDATA + To use the default values for: `$ISISROOT, $ISISDATA, $ISISTESTDATA`, run the ISIS variable initialization script with default arguments. - python $CONDA_PREFIX/scripts/isisVarInit.py + To do this, for versions of ISIS 4.2.0 and earlier, use: + + python $CONDA_PREFIX/scripts/isis3VarInit.py + For versions of ISIS after 4.2.0, use: + + python $CONDA_PREFIX/scripts/isisVarInit.py Executing this script with no arguments will result in $ISISDATA=$CONDA\_PREFIX/data, and $ISISTESTDATA=$CONDA\_PREFIX/testdata. The user can specify different directories for both of these optional values: - python $CONDA_PREFIX/scripts/isisVarInit.py --data-dir=[path to data directory] --test-dir=[path to test data directory] + For ISIS 4.2.0 and earlier, use: + + python $CONDA_PREFIX/scripts/isis3VarInit.py --data-dir=[path to data directory] --test-dir=[path to test data directory] + For versions of ISIS after 4.2.0, use: + + python $CONDA_PREFIX/scripts/isisVarInit.py --data-dir=[path to data directory] --test-dir=[path to test data directory] More information about the ISISDATA environment variable and the ISIS Data Area can be found [here]("#The-ISIS-Data-Area"). Now everytime the isis environment is activated, $ISISROOT, $ISISDATA, and $ISISTESTDATA will be set to the values passed to isisVarInit.py. This does not happen retroactively, so re-activate the isis envionment with one of the following commands: -- GitLab