When you include the --exclude-resistance-phenotypes in the command line, the Predicted Phenotypes Column is still included in the summary and detailed_summary file
Solution
Take advantage of polymorphism and overriding to dynamically remove the Predicted Phenotypes Column
Implementation
Create getter methods to return the proper column names and values
Testing
Ran through the staramr tests and refactored the unit tests to use the AMRDetectionSummaryResistance method rather than the AMRDetectionSummary
@apetkau The command error is coming from including the negatives method, I forgot to add an if/else case if the phenotype command is enabled, which is now fixed.
Based on Issue #65
Problem
When you include the
--exclude-resistance-phenotypes
in the command line, the Predicted Phenotypes Column is still included in the summary and detailed_summary fileSolution
Take advantage of polymorphism and overriding to dynamically remove the Predicted Phenotypes Column
Implementation
Create getter methods to return the proper column names and values
Testing
Ran through the staramr tests and refactored the unit tests to use the
AMRDetectionSummaryResistance
method rather than theAMRDetectionSummary