Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUG: Fix problem with --color_by #306

Merged
merged 6 commits into from Sep 24, 2014
Merged

Conversation

ElDeveloper
Copy link
Member

When a category was passed in with the --color_by flag and the values in the
mapping file were unique, this category was removed; this problem has now been
fixed a new test case was added and a note in the ChangeLog.md was re-added.

See #271

…271"

This reverts commit 4cccca8, reversing
changes made to 3d275ff.
When nothing was passed in to --color_by, the default behaviour was to
keep all the columns in the mapping file. This was inconsistent with the
documented behavior, to remove unique columns, which has now been
corrected. See the comments in this patch.

Fixes biocore#271
@emperor-helper
Copy link

The test build for this pull request can be found here: http://emperor.colorado.edu/pull_306/make_emperor/

@antgonza
Copy link
Collaborator

Using the mice tutorial --add_unique_columns doesn't work as expected, it
removes all columns except SampleID.

@ElDeveloper
Copy link
Member Author

Thanks for catching that, I'm working on this right now.

If we requested the unique columns to be kept, then only the SampleID
would be retained, which was in turn useless.

This has been fixed.
@ElDeveloper
Copy link
Member Author

Should be fixed ... waiting for the tests to pass.

@antgonza
Copy link
Collaborator

Now using or not --add_unique_columns gives the same output.

If you didn't pass anything with -b you would get all the categories,
whilst if you passed --add_unique_columns you would get only SampleID.
This has been fixed for good. 🐛
@ElDeveloper
Copy link
Member Author

This time it should be fixed for good.

@antgonza
Copy link
Collaborator

Finally!!!

antgonza added a commit that referenced this pull request Sep 24, 2014
BUG: Fix problem with --color_by
@antgonza antgonza merged commit fc0b8c1 into biocore:master Sep 24, 2014
@ElDeveloper
Copy link
Member Author

Thanks for reviewing @antgonza.

On (Sep-24-14| 7:48), Antonio Gonzalez wrote:

Merged #306.


Reply to this email directly or view it on GitHub:
#306 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants