1) Should probably limit value to 100%
2) Shouldn't throw exception, or if it does, it should have a meaningful error message rather than:
Error: Exception Caught: IndexError: index 0 is out of bounds for axis 0 with size 0 At: /Users/amorris/sci/shapeworks/code/Python/DataAugmentationUtilsPackage/DataAugmentationUtils/Embedder.py(46): run_PCA /Users/amorris/sci/shapeworks/code/Python/DataAugmentationUtilsPackage/DataAugmentationUtils/Embedder.py(25): init /Users/amorris/sci/shapeworks/code/Python/DataAugmentationUtilsPackage/DataAugmentationUtils/DataAugmentation.py(37): point_based_aug /Users/amorris/sci/shapeworks/code/Python/DataAugmentationUtilsPackage/DataAugmentationUtils/init.py(22): runDataAugmentation /Users/amorris/sci/shapeworks/code/Python/DeepSSMUtilsPackage/DeepSSMUtils/run_utils.py(273): run_data_augmentation
1) Should probably limit value to 100% 2) Shouldn't throw exception, or if it does, it should have a meaningful error message rather than:
Error: Exception Caught: IndexError: index 0 is out of bounds for axis 0 with size 0 At: /Users/amorris/sci/shapeworks/code/Python/DataAugmentationUtilsPackage/DataAugmentationUtils/Embedder.py(46): run_PCA /Users/amorris/sci/shapeworks/code/Python/DataAugmentationUtilsPackage/DataAugmentationUtils/Embedder.py(25): init /Users/amorris/sci/shapeworks/code/Python/DataAugmentationUtilsPackage/DataAugmentationUtils/DataAugmentation.py(37): point_based_aug /Users/amorris/sci/shapeworks/code/Python/DataAugmentationUtilsPackage/DataAugmentationUtils/init.py(22): runDataAugmentation /Users/amorris/sci/shapeworks/code/Python/DeepSSMUtilsPackage/DeepSSMUtils/run_utils.py(273): run_data_augmentation