Skip to content

Commit

Permalink
Remove unneeded code
Browse files Browse the repository at this point in the history
  • Loading branch information
maxkfranz committed Nov 12, 2018
1 parent 11278d0 commit 20d2703
Showing 1 changed file with 1 addition and 14 deletions.
15 changes: 1 addition & 14 deletions src/client/components/element-info/interaction-info.js
Expand Up @@ -43,13 +43,7 @@ class InteractionInfo extends DataComponent {
});

let { STAGES, ORDERED_STAGES } = progression;
let initialStage;

if( allPpts.some(isProtein) && allPpts.some(isChemical) ){//TODO why skip?
initialStage = ORDERED_STAGES[1]; // skip first stage for protein-chemical interaction
} else {
initialStage = ORDERED_STAGES[0];
}
let initialStage = ORDERED_STAGES[0];

let stage = initCache( stageCache, el, el.completed() ? STAGES.COMPLETED : initialStage );

Expand Down Expand Up @@ -262,13 +256,6 @@ class InteractionInfo extends DataComponent {
return;
}

//DON'T skip base Modification type - used for prot-prot activation/inactivation without phys. mod. feature.
// (control of state change)
// // skip modification base type for now and just allow users to set modification subtypes
// if( assoc.value === el.ASSOCIATION.MODIFICATION.value ){
// return;
// }

let radioId = 'interaction-info-assoc-radioset-item-' + uuid();
let checked = el.associated() && el.association().value === assoc.value;

Expand Down

0 comments on commit 20d2703

Please sign in to comment.