v1.0.0-rc.40
This commit is contained in:
@@ -58,7 +58,7 @@ void JFJochViewerImageListWindow::addDataRow(int imageNumber, double backgroundE
|
||||
const QString& indexingResult,
|
||||
int spotCount,
|
||||
double resolutionEstimate,
|
||||
int32_t max_value) {
|
||||
int64_t max_value) {
|
||||
QList<QStandardItem*> rowItems;
|
||||
|
||||
QStandardItem *imageItem = new QStandardItem();
|
||||
@@ -82,7 +82,7 @@ void JFJochViewerImageListWindow::addDataRow(int imageNumber, double backgroundE
|
||||
|
||||
|
||||
QStandardItem *maxValueItem = new QStandardItem();
|
||||
maxValueItem->setData(max_value, Qt::DisplayRole);
|
||||
maxValueItem->setData(static_cast<int32_t>(max_value), Qt::DisplayRole);
|
||||
rowItems.append(maxValueItem);
|
||||
|
||||
tableModel->appendRow(rowItems);
|
||||
@@ -118,12 +118,16 @@ void JFJochViewerImageListWindow::datasetLoaded() {
|
||||
indexing_result = "Yes";
|
||||
}
|
||||
|
||||
int64_t max_value = 0;
|
||||
if (dataset->max_value.size() > i)
|
||||
max_value = dataset->max_value[i];
|
||||
|
||||
addDataRow(i,
|
||||
bkg_estimate,
|
||||
indexing_result,
|
||||
spot_count,
|
||||
res_estimation,
|
||||
dataset->max_value[i]);
|
||||
max_value);
|
||||
}
|
||||
|
||||
imageLoaded();
|
||||
|
||||
Reference in New Issue
Block a user