Skip to content

Commit

Permalink
Undo delete toString
Browse files Browse the repository at this point in the history
  • Loading branch information
cmdcolin committed Feb 15, 2018
1 parent 857b876 commit d5ed6cf
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 1 addition & 2 deletions src/JBrowse/Store/SeqFeature/VCFTabix/Parser.js
Expand Up @@ -247,8 +247,7 @@ return declare( null, {
for( var field in info ) {
if( info.hasOwnProperty( field ) ) {
var i = info[field] = {
values: info[field],
toString: function() { return (this.values || []).join(','); }
values: info[field]
};
var meta = this.getVCFMetaData( 'INFO', field );
if( meta )
Expand Down
1 change: 0 additions & 1 deletion src/JBrowse/View/Track/_VariantDetailMixin.js
Expand Up @@ -158,7 +158,6 @@ return declare( [FeatureDetailMixin, NamedFeatureFiltersMixin], {
return;

var counts = new NestedFrequencyTable();
delete genotypes.toString;
for( var gname in genotypes ) {
if( genotypes.hasOwnProperty( gname ) ) {
// increment the appropriate count
Expand Down

0 comments on commit d5ed6cf

Please sign in to comment.