Skip to content

Commit 7dc1435

Browse files
authored
Merge pull request #42 from NIRALUser/master
DTIPrep version 1.2.8
2 parents 94569da + cd26951 commit 7dc1435

6 files changed

Lines changed: 13 additions & 6 deletions

File tree

SuperBuild/External_TIFF.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,8 @@ if(NOT ( DEFINED "USE_SYSTEM_${extProjName}" AND "${USE_SYSTEM_${extProjName}}"
8383
AutoConf_FLAGS(${proj}_CXXFLAGS CXX "${APPLE_CFLAGS}")
8484

8585
### --- End Project specific additions
86-
set(${proj}_URL "http://download.osgeo.org/libtiff/tiff-4.0.3.tar.gz")
87-
set(${proj}_MD5 "051c1068e6a0627f461948c365290410")
86+
set(${proj}_URL "http://download.osgeo.org/libtiff/tiff-4.0.4.tar.gz")
87+
set(${proj}_MD5 "9aee7107408a128c0c7b24286c0db900")
8888
ExternalProject_Add(${proj}
8989
URL ${${proj}_URL}
9090
${URL_HASH_CLAUSE}

SuperBuild/External_VTK.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ if(NOT ( DEFINED "USE_SYSTEM_${extProjName}" AND "${USE_SYSTEM_${extProjName}}"
161161
)
162162
### --- End Project specific additions
163163

164-
set(${proj}_GIT_TAG "v7.0.0")
164+
set(${proj}_GIT_TAG "v7.1.1")
165165
set(${proj}_REPOSITORY ${git_protocol}://vtk.org/VTK.git)
166166

167167
ExternalProject_Add(${proj}
@@ -197,7 +197,7 @@ if(NOT ( DEFINED "USE_SYSTEM_${extProjName}" AND "${USE_SYSTEM_${extProjName}}"
197197
# -P ${VTKPatchScript}
198198
# )
199199

200-
set(${extProjName}_DIR ${CMAKE_BINARY_DIR}/${proj}-install/lib/cmake/vtk-7.0)
200+
set(${extProjName}_DIR ${CMAKE_BINARY_DIR}/${proj}-install/lib/cmake/vtk-7.1)
201201

202202
else()
203203
if(${USE_SYSTEM_${extProjName}})

src/DTIPrep.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<description>
66
The DWI/DTI Quality Control Processes from dicom data to qualified dwi image.
77
</description>
8-
<version>1.2.7</version>
8+
<version>1.2.8</version>
99
<license></license>
1010
<contributor>Mahshid Farzinfar (1), Zhexing Liu (1), Martin Styner(1),Hans Johnson(2,3,4), Joy Matsui(2), Kent Williams(2); (1=Department of Psychiatry, University of North Carolina at Chapel Hill, 2=University of Iowa Department of Psychiatry, 3=University of Iowa Department of Biomedical Engineering, 4=University of Iowa Department of Electrical and Computer Engineering)
1111
</contributor>

src/IntensityMotionCheckPanel.cxx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3732,6 +3732,10 @@ void IntensityMotionCheckPanel::QCedResultUpdate()
37323732

37333733
}
37343734

3735+
//When the QC is loaded then we set the variable has computed to indicate that a processing has been done before.
3736+
std::cout<<std::endl<<"QC LOADED!"<<std::endl;
3737+
myIntensityThread.SetHasComputed(true);
3738+
37353739
// outfile.close();
37363740
}
37373741

src/ThreadIntensityMotionCheck.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,5 +225,5 @@ void CThreadIntensityMotionCheck::run()
225225
emit LoadQCedDWI( QString::fromStdString( m_IntensityMotionCheck->GetOutputDWIFileName() ) );
226226
emit QCedResultUpdate();
227227
emit Set_VCStatus(); // initialize the VC_Status in DTIPanel
228-
m_hasComputedOnce = true ;
228+
this->SetHasComputed(true);
229229
}

src/ThreadIntensityMotionCheck.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,9 @@ class CThreadIntensityMotionCheck : public QThread
3939
}
4040

4141
bool HasComputed() ;
42+
void SetHasComputed(bool computed){
43+
m_hasComputedOnce = computed;
44+
}
4245
void SetRecompute( bool val ) ;
4346
void SetRecomputeOutputFileName( std::string filename ) ;
4447

0 commit comments

Comments
 (0)