diff --git a/frontend/src/components/trackVis/CallingCardTrack.js b/frontend/src/components/trackVis/CallingCardTrack.js
index f3709cee..313adabd 100644
--- a/frontend/src/components/trackVis/CallingCardTrack.js
+++ b/frontend/src/components/trackVis/CallingCardTrack.js
@@ -143,10 +143,10 @@ class CallingCardTrack extends React.PureComponent {
| Value |
Strand |
- String |
+ Annotation |
);
- const rows = cards.slice(0, 10).map((card,i) => | {card.value} | {card.strand} | {card.string} |
);
+ const rows = cards.slice(0, 10).map((card,i) => | {card.value} | {card.strand} | {card.annotation} |
);
return ;
}
diff --git a/frontend/src/model/CallingCard.ts b/frontend/src/model/CallingCard.ts
index 6d2c6dd2..38f2ad06 100644
--- a/frontend/src/model/CallingCard.ts
+++ b/frontend/src/model/CallingCard.ts
@@ -5,7 +5,7 @@ import BedRecord from '../dataSources/bed/BedRecord';
enum CallingCardColumnIndex {
VALUE=3,
STRAND=4,
- STRING=5
+ ANNOTATION=5
};
@@ -25,7 +25,7 @@ class CallingCard extends Feature {
* Constructs a new CallingCard, given a string from tabix
*
*/
- string: any;
+ annotation: any;
value: number;
relativeX: number; // Store relative position of CallingCard in visualizer
relativeY: number; // Used to find nearest CallingCard to cursor for tooltip; also for downsampling
@@ -33,7 +33,7 @@ class CallingCard extends Feature {
const locus = new ChromosomeInterval(bedRecord.chr, bedRecord.start, bedRecord.end);
super('', locus, bedRecord[CallingCardColumnIndex.STRAND]);
this.value = Number.parseFloat(bedRecord[CallingCardColumnIndex.VALUE]);
- this.string = bedRecord[CallingCardColumnIndex.STRING];
+ this.annotation = bedRecord[CallingCardColumnIndex.ANNOTATION];
}
}