MCPcopy Create free account
hub / github.com/OpenMS/OpenMS / store

Method store

src/openms_gui/source/VISUAL/VISUALIZER/ModificationVisualizer.cpp:60–75  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

58 }
59
60 void ModificationVisualizer::store()
61 {
62 try
63 {
64 ptr_->setComment(treatmentcomment_->toPlainText());
65 ptr_->setReagentName(modificationname_->text());
66 ptr_->setMass(modificationmass_->text().toFloat());
67 ptr_->setSpecificityType((Modification::SpecificityType)modificationspecificity_->currentIndex());
68 ptr_->setAffectedAminoAcids(modificationAA_->text());
69 temp_ = (*ptr_);
70 }
71 catch (exception & e)
72 {
73 std::cout << "Error while trying to store the new modification data. " << e.what() << endl;
74 }
75 }
76
77 void ModificationVisualizer::undo_()
78 {

Callers

nothing calls this directly

Calls 6

setReagentNameMethod · 0.80
toFloatMethod · 0.80
setSpecificityTypeMethod · 0.80
setAffectedAminoAcidsMethod · 0.80
setCommentMethod · 0.45
setMassMethod · 0.45

Tested by

no test coverage detected