If you pass as input to pcoa files that have no overlap of samples between them the script fails with the following error:
Traceback (most recent call last):
File "/Users/antoniog/svn_programs/qiime/scripts/transform_coordinate_matrices.py", line 130, in
main()
File "/Users/antoniog/svn_programs/qiime/scripts/transform_coordinate_matrices.py", line 97, in main
max_dimensions=num_dimensions)
File "/Users/antoniog/svn_programs/qiime/qiime/transform_coordinate_matrices.py", line 134, in get_procrustes_results
coords1, coords2 = pad_coords_matrices(coords1,coords2)
File "/Users/antoniog/svn_programs/qiime/qiime/transform_coordinate_matrices.py", line 92, in pad_coords_matrices
coords1_len = coords1.shape[1]
IndexError: tuple index out of range
It might be more useful to validate this and raise a more informative error
If you pass as input to pcoa files that have no overlap of samples between them the script fails with the following error: Traceback (most recent call last): File "/Users/antoniog/svn_programs/qiime/scripts/transform_coordinate_matrices.py", line 130, in
main()
File "/Users/antoniog/svn_programs/qiime/scripts/transform_coordinate_matrices.py", line 97, in main
max_dimensions=num_dimensions)
File "/Users/antoniog/svn_programs/qiime/qiime/transform_coordinate_matrices.py", line 134, in get_procrustes_results
coords1, coords2 = pad_coords_matrices(coords1,coords2)
File "/Users/antoniog/svn_programs/qiime/qiime/transform_coordinate_matrices.py", line 92, in pad_coords_matrices
coords1_len = coords1.shape[1]
IndexError: tuple index out of range
It might be more useful to validate this and raise a more informative error