Skip to content

Commit

Permalink
- fixed crash after viewing treeview popup in SeeMS (it had been prev…
Browse files Browse the repository at this point in the history
…iously fixed but the fix got overwritten with the next CV update)
  • Loading branch information
chambm committed Aug 16, 2024
1 parent 92346c6 commit 8993586
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions pwiz/utility/bindings/CLI/common/cv.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -17168,17 +17168,17 @@ public ref class CVTermInfo
/// <summary>
/// returns a list of terms which this term has an IS_A relationship with
/// </summary>
property CVIDList^ parentsIsA { CVIDList^ get() {return gcnew CVIDList(&base_->parentsIsA);} }
property CVIDList^ parentsIsA { CVIDList^ get() {return gcnew CVIDList(&base_->parentsIsA, gcnew Object());} }

/// <summary>
/// returns a list of terms which this term has a PART_OF relationship with
/// </summary>
property CVIDList^ parentsPartOf { CVIDList^ get() {return gcnew CVIDList(&base_->parentsPartOf);} }
property CVIDList^ parentsPartOf { CVIDList^ get() {return gcnew CVIDList(&base_->parentsPartOf, gcnew Object());} }

/// <summary>
/// returns a list of term names synonymous with this term
/// </summary>
property StringList^ exactSynonyms { StringList^ get() {return gcnew StringList(&base_->exactSynonyms);} }
property StringList^ exactSynonyms { StringList^ get() {return gcnew StringList(&base_->exactSynonyms, gcnew Object());} }

CVTermInfo() : base_(new pwiz::cv::CVTermInfo()) {}

Expand Down
6 changes: 3 additions & 3 deletions pwiz/utility/bindings/CLI/common/cvgen_cli.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -232,17 +232,17 @@ void writeHpp(const vector<OBO>& obos, const string& basename, const bfs::path&
<< " /// <summary>\n"
<< " /// returns a list of terms which this term has an IS_A relationship with\n"
<< " /// </summary>\n"
<< " property CVIDList^ parentsIsA { CVIDList^ get() {return gcnew CVIDList(&base_->parentsIsA);} }\n"
<< " property CVIDList^ parentsIsA { CVIDList^ get() {return gcnew CVIDList(&base_->parentsIsA, gcnew Object());} }\n"
<< "\n"
<< " /// <summary>\n"
<< " /// returns a list of terms which this term has a PART_OF relationship with\n"
<< " /// </summary>\n"
<< " property CVIDList^ parentsPartOf { CVIDList^ get() {return gcnew CVIDList(&base_->parentsPartOf);} }\n"
<< " property CVIDList^ parentsPartOf { CVIDList^ get() {return gcnew CVIDList(&base_->parentsPartOf, gcnew Object());} }\n"
<< "\n"
<< " /// <summary>\n"
<< " /// returns a list of term names synonymous with this term\n"
<< " /// </summary>\n"
<< " property StringList^ exactSynonyms { StringList^ get() {return gcnew StringList(&base_->exactSynonyms);} }\n"
<< " property StringList^ exactSynonyms { StringList^ get() {return gcnew StringList(&base_->exactSynonyms, gcnew Object());} }\n"
<< "\n"
<< " CVTermInfo() : base_(new pwiz::cv::CVTermInfo()) {}\n"
<< "\n"
Expand Down

0 comments on commit 8993586

Please sign in to comment.