Skip to content

Commit

Permalink
removed unused
Browse files Browse the repository at this point in the history
  • Loading branch information
nathandunn committed Mar 26, 2019
1 parent b113b9a commit 1277d50
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 34 deletions.
32 changes: 0 additions & 32 deletions client/apollo/js/View/Track/AnnotTrack.js
Expand Up @@ -1769,29 +1769,6 @@ define([
track.changed();
},

hideVariantEffect: function() {
var track = this;
var trackName = this.getUniqueTrackName();
var selected = this.selectionManager.getSelection();
// this.selectionManager.clearSelection();
// var transcriptUniqueName;
// if (selected[0].feature.parent()) {
// //selected is an exon, get its parent
// var parent = selected[0].feature.parent();
// transcriptUniqueName = parent.afeature.uniquename;
// }
// else {
// transcriptUniqueName = selected[0].feature.afeature.uniquename;
// }
//
// var postData = {
// track: trackName,
// features: [{ uniquename: transcriptUniqueName }],
// operation: 'dissociate_transcript_from_gene'
// };
// track.executeUpdateOperation(JSON.stringify(postData));
},

mergeAnnotations: function (selection) {
var track = this;
var annots = [];
Expand Down Expand Up @@ -6951,15 +6928,6 @@ define([
});
annot_context_menu.addChild(viewVariantEffect);
contextMenuItems["view_variant_effect"] = index++;
// //
// var hideVariantEffect = new dijit.MenuItem({
// label: "Hide Variant Effect",
// onClick: function () {
// thisB.hideVariantEffect();
// }
// });
// annot_context_menu.addChild(hideVariantEffect);
// contextMenuItems["hide_variant_effect"] = index++;

annot_context_menu.addChild(new dijit.MenuSeparator());
index++;
Expand Down
Expand Up @@ -1324,7 +1324,6 @@ class RequestHandlingService {
// TODO: If so, then we should change all of our integration tests for sequence alterations to have comments
if (jsonFeature.has(FeatureStringEnum.NON_RESERVED_PROPERTIES.value)) {
JSONArray properties = jsonFeature.getJSONArray(FeatureStringEnum.NON_RESERVED_PROPERTIES.value);
println "adding properties ${properties as JSON}"
for (int j = 0; j < properties.length(); ++j) {
JSONObject property = properties.getJSONObject(j)
String tag = property.getString(FeatureStringEnum.TAG.value)
Expand All @@ -1334,7 +1333,6 @@ class RequestHandlingService {
value: value,
tag: tag
).save()
println "adding property ${tag} ${value}"
featurePropertyService.addProperty(sequenceAlteration, featureProperty)
sequenceAlteration.save(flush: true)
}
Expand Down

0 comments on commit 1277d50

Please sign in to comment.