diff options
-rwxr-xr-x | scripts/random-muscle-activation.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/random-muscle-activation.py b/scripts/random-muscle-activation.py index 870fee3..5a8346d 100755 --- a/scripts/random-muscle-activation.py +++ b/scripts/random-muscle-activation.py @@ -173,6 +173,8 @@ def main(): print("Error: ymin must be a float") usage() sys.exit(-1) + if imin == DEFAULT_YMIN: + imin = ymin elif o == '-Y': try: ymax = float(a) @@ -180,6 +182,8 @@ def main(): print("Error: ymax must be a float") usage() sys.exit(-1) + if imax == DEFAULT_YMAX: + imax = ymax elif o == '-d': try: ydmin = float(a) |