Skip to content

Commit a354e0a

Browse files
author
Arthur Glowacki
committed
Changed STR_SCAN_TYPE to STR_XRF_SCAN_TYPE
1 parent 90a1cea commit a354e0a

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/core/defines.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ const std::string STR_REQUESTED_ROWS = "requested_rows";
292292
const std::string STR_REQUESTED_COLS = "requested_cols";
293293
const std::string STR_THETA = "theta";
294294
const std::string STR_SCAN_TIME_STAMP = "scan_time_stamp";
295-
const std::string STR_SCAN_TYPE = "scan_type";
295+
const std::string STR_XRF_SCAN_TYPE = "scan_type";
296296
const std::string STR_NAME = "name";
297297
const std::string STR_SCAN_METADATA = "scan_metadata";
298298

src/io/file/hdf5_io.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8308,14 +8308,14 @@ class DLL_EXPORT HDF5_IO
83088308
}
83098309

83108310
//Save scan type
8311-
if ( _open_h5_dataset(STR_SCAN_TYPE, filetype, scan_grp_id, 1, count, count, dset_id, dataspace_id))
8311+
if ( _open_h5_dataset(STR_XRF_SCAN_TYPE, filetype, scan_grp_id, 1, count, count, dset_id, dataspace_id))
83128312
{
83138313
char tmp_char[255] = { 0 };
83148314
meta_info->scan_type.copy(tmp_char, 254);
83158315
status = H5Dwrite(dset_id, memtype, memoryspace_id, dataspace_id, H5P_DEFAULT, (void*)tmp_char);
83168316
if (status < 0)
83178317
{
8318-
logE << "failed to write " << STR_SCAN_TYPE << "\n";
8318+
logE << "failed to write " << STR_XRF_SCAN_TYPE << "\n";
83198319
}
83208320
}
83218321

0 commit comments

Comments
 (0)