diff options
-rwxr-xr-x | SelectiveWholeGenomeAmplification | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/SelectiveWholeGenomeAmplification b/SelectiveWholeGenomeAmplification index 104495f..a3e3a24 100755 --- a/SelectiveWholeGenomeAmplification +++ b/SelectiveWholeGenomeAmplification @@ -66,12 +66,10 @@ else fi if [[ -n "$step_mers" ]] || [[ -n "$step_filters" ]] || [[ -n "$step_select" ]] || [[ -n "$step_score" ]]; then - echo "unset all" unset all fi if (( $# != 0 )); then - unset all for i in "${@:$start}"; do if [[ "$i" = "1" ]] || [[ "$i" = "count" ]]; then @@ -96,6 +94,10 @@ if (( $# != 0 )); then "as your base" exit fi + + if [[ -n $step ]]; then + unset all + fi done; fi; |