Skip to content

Commit

Permalink
rebase changes
Browse files Browse the repository at this point in the history
  • Loading branch information
nawazishkhan1-nk committed Oct 9, 2024
1 parent 5de96b6 commit fd0e1ba
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 5 deletions.
2 changes: 2 additions & 0 deletions Libs/Particles/ParticleShapeStatistics.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -694,4 +694,6 @@ Eigen::MatrixXd ParticleShapeStatistics::get_group1_matrix() const { return grou
//---------------------------------------------------------------------------
Eigen::MatrixXd ParticleShapeStatistics::get_group2_matrix() const { return group2_matrix_; }



} // namespace shapeworks
2 changes: 1 addition & 1 deletion Studio/Analysis/AnalysisTool.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -869,7 +869,7 @@ void AnalysisTool::store_settings() {
params.set("network_pvalue_of_interest", ui_->network_pvalue_of_interest->text().toStdString());
params.set("network_pvalue_threshold", ui_->network_pvalue_threshold->text().toStdString());

params.set("regression_slope", session->)
// params.set("regression_slope", session->)

session_->get_project()->set_parameters(Parameters::ANALYSIS_PARAMS, params);
}
Expand Down
2 changes: 1 addition & 1 deletion Studio/Data/Session.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -837,7 +837,7 @@ void Session::new_plane_point(PickResult result) {
//---------------------------------------------------------------------------
QString Session::get_filename() { return filename_; }

QString Session::get_parent_dir()
// QString Session::get_parent_dir()

//---------------------------------------------------------------------------
int Session::get_num_shapes() { return shapes_.size(); }
Expand Down
4 changes: 2 additions & 2 deletions Studio/Interface/ShapeWorksStudioApp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1532,8 +1532,8 @@ void ShapeWorksStudioApp::open_project(QString filename) {
if (optimize_tool_->get_regression_analysis_status())
{
// Verify if slope and intercept files exist
auto particles_dir = session_->get_filename().dir().absolutePath().toStdString();
auto slope_filename = session_->get_filename().toStdString()
// auto particles_dir = session_->get_filename().dir().absolutePath().toStdString();
// auto slope_filename = session_->get_filename().toStdString();
}
analysis_tool_->store_settings();
update_from_preferences();
Expand Down
2 changes: 1 addition & 1 deletion Studio/Optimize/OptimizeTool.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ Q_OBJECT;
//! Store params to project

//! Get flag if regression needs to enabled for analysis in Studio
inline bool get_regression_analysis_status() { return regression_analysis_status; }
inline bool get_regression_analysis_status() { return regression_analysis_status_; }

void store_params();

Expand Down
10 changes: 10 additions & 0 deletions Studio/Optimize/OptimizeTool.ui
Original file line number Diff line number Diff line change
Expand Up @@ -881,6 +881,16 @@ QWidget#optimize_panel {
</property>
</widget>
</item>
<item row="8" column="2">
<widget class="QLineEdit" name="geodesic_remesh_percent">
<property name="text">
<string>100</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item row="22" column="2">
<widget class="QWidget" name="linear_regression_widget" native="true">
<layout class="QGridLayout" name="gridLayout_18">
Expand Down

0 comments on commit fd0e1ba

Please sign in to comment.