Bug Description
When running merge on two different metadata files with different index names (i.e. sample-id and ID), the following error message is produced:
This provides little to no clarification regarding the issue being different index names (vs. the index name being set to None).
This will produce the error in the screenshot above.
Expected behavior
A new error should be raised that will check for matching index names within the two metadata files, so that the error above is handled with a message that is more informative to the user. Additionally, the help text for this method should include one or two sentences regarding index names needing to match.
Bug Description When running
merge
on two different metadata files with different index names (i.e.sample-id
andID
), the following error message is produced:This provides little to no clarification regarding the issue being different index names (vs. the index name being set to
None
).Steps to reproduce the behavior
Go to the Moving Pictures tutorial and download
sample-metadata.tsv
Duplicate the
sample-metadata.tsv
file and save it as two different files (e.g.sample-md1.tsv
&sample-md2.tsv
)Within one of the duplicated files, modify the index name (e.g.
ID
)Run the following command:
This will produce the error in the screenshot above.
Expected behavior A new error should be raised that will check for matching index names within the two metadata files, so that the error above is handled with a message that is more informative to the user. Additionally, the help text for this method should include one or two sentences regarding index names needing to match.