STIR now handles SPECT in addition to PET, so we should use prefix STIR for STIR data containers.
This was already in place for images - this pull request does the same for acquisition data.
For the sake of backward compatibility, old nomenclature is preserved for the time being via typedef
.
Fixes #1126.
Please read and adhere to the contribution guidelines.
Please tick the following:
https://github.com/SyneRBI/SIRF/pull/1146
(8 files)
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.
thanks! We will need to put this in version 4.0, as it breaks backwards compatibility.
@johannesmayer presumably this will affect #1007 ?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.
We will need to put this in version 4.0, as it breaks backwards compatibility.
Actually, this PR can be merged right away as we have
///
/// Backward compatibility - to be removed in SIRF 4
///
typedef STIRAcquisitionData PETAcquisitionData;
typedef STIRAcquisitionDataInFile PETAcquisitionDataInFile;
typedef STIRAcquisitionDataInMemory PETAcquisitionDataInMemory;
(stir_data_containers.h
, lines 772-777).
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.
ah. perfect. Great idea!
can you put those typedefs between #ifdef SIRF_VERSION < 040000
or whatever it has to be? Also add a line to CHANGES.md
. Feel free to merge then. thanks!
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.
@evgueni-ovtchinnikov pushed 1 commit.
—
View it on GitHub or unsubscribe.
You are receiving this because you are subscribed to this thread.
@evgueni-ovtchinnikov pushed 1 commit.
—
View it on GitHub or unsubscribe.
You are receiving this because you are subscribed to this thread.
@evgueni-ovtchinnikov pushed 1 commit.
—
View it on GitHub or unsubscribe.
You are receiving this because you are subscribed to this thread.
Merged #1146 into master.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.
I notice the problem you had with version.h
. I guess this means that we don't have access to the generated file
Correct? I think this means we need to add a line after https://github.com/SyneRBI/SIRF/blob/cf384b18ef5f000f9509457e6cb928971660ae2f/CMakeLists.txt#L213
include_directories(${CMAKE_CURRENT_BINARY_DIR}/cmake/include
If you think that's correct, please create an issue for it
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.