Skip to content

Update build_consensus_reference.py to fix Issue #20#21

Open
JTumulty wants to merge 1 commit intoimmunogenomics:mainfrom
JTumulty:fix-issue20
Open

Update build_consensus_reference.py to fix Issue #20#21
JTumulty wants to merge 1 commit intoimmunogenomics:mainfrom
JTumulty:fix-issue20

Conversation

@JTumulty
Copy link

Description: This PR fixes the issue where an error is raised when the maximum size of clusters generated when running cluster_cnmf_results is less than the total number of datasets/paths passed to the BuildConsensusReference class.

Changes: Removed column name designation, "columns=[...]", from pd.DataFrame.from_dict() call in lines 300-301. This makes it so that the number of columns is just set by the maximum cluster size. These column names are never referenced again and the output of this function is not returned directly by the function so this change does not have any downstream effect.

Related Issue: Fixes #20

Removed column name designation from pd.DataFrame.from_dict() call in lines 300-301
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.

BuildConsensusReference Error when no clusters contain all datasets

1 participant