Skip to content

Commit

Permalink
Minor change in the cl.exe command line options to avoid warings on W…
Browse files Browse the repository at this point in the history
…indows with the new Virtual Studio 2022

Merge branch 'development'
  • Loading branch information
michaltykac committed Jun 11, 2022
2 parents 2d614f1 + 2a86adb commit 2d8d967
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions proshade/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ if ( "${CMAKE_BUILD_TYPE}" STREQUAL "Debug" )
# ### TO BE COMPLETED
elseif ( "${CMAKE_CXX_COMPILER_ID}" STREQUAL "MSVC" )
################################# Using Visual Studio C++
set ( CMAKE_CXX_FLAGS " /Od /Z7 /DEBUG /W4 " )
set ( CMAKE_CXX_FLAGS " /Od /Z7 /DEBUG /W4 /EHsc " )
endif ( )

elseif ( "${CMAKE_BUILD_TYPE}" STREQUAL "Release" )
Expand All @@ -117,7 +117,7 @@ elseif ( "${CMAKE_BUILD_TYPE}" STREQUAL "Release" )
# ### TO BE COMPLETED
elseif ( "${CMAKE_CXX_COMPILER_ID}" STREQUAL "MSVC" )
################################# Using Visual Studio C++
set ( CMAKE_CXX_FLAGS " /O2 /GL /Gw /Qpar /Qspectre /Qspectre-load /Qspectre-load-cf /RTC " )
set ( CMAKE_CXX_FLAGS " /O2 /GL /Gw /Qpar /EHsc " )
endif ( )

else ( "${CMAKE_BUILD_TYPE}" STREQUAL "Debug" )
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
comCentering = True
verbosity = -1
inputFileName = "emdb_spa_210329.dat"
outputFileName = "V22_results_allKnownEMDB_COM_resol-"
outputFileName = "V23_results_allKnownEMDB_COM_resol-"
EMDBDataPath = "/Users/mysak/BioCEV/proshade/xx_EMDBSymmetry"
unreleasedIDsList = [ "EMD-10163", "EMD-10165", "EMD-10166", "EMD-10168", "EMD-10169", "EMD-10170", "EMD-10174", "EMD-21320", "EMD-4320", "EMD-4522", "EMD-4523", "EMD-4524", "EMD-4606", "EMD-4607", "EMD-4718", "EMD-5039", "EMD-6758", "EMD-8144", "EMD-8145", "EMD-1300" ]
tooLargeIDsList = [ "EMD-0174", "EMD-11111", "EMD-20091", "EMD-21648", "EMD-0880", "EMD-11008", "EMD-0436", "EMD-11040", "EMD-0618", "EMD-10768", "EMD-10926", "EMD-1610", "EMD-23042" ]
Expand All @@ -95,7 +95,7 @@
### no user manipulation is required.
###

startFrom = 188
startFrom = 0
resolutionFilename = resolution
outResCondensed = 0
outResAxes = 0
Expand Down
2 changes: 1 addition & 1 deletion proshade/src/proshade/ProSHADE_data.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2860,7 +2860,7 @@ void ProSHADE_internal_data::ProSHADE_data::saveRecommendedSymmetry ( ProSHADE_s
if ( ( bestC != -1 ) && ( settings->recommendedSymmetryType == "D" ) )
{
//======================================== Decide if C or D is more appropriate
if ( ( ( CSym->at( static_cast< size_t > ( bestC ) )[6] * 0.75 ) > ( ( CSym->at(settings->allDetectedDAxes.at( static_cast< size_t > ( bestD ) ).at(0))[6] + CSym->at(settings->allDetectedDAxes.at( static_cast< size_t > ( bestD ) ).at(1))[6] ) / 2.0 ) ) &&
if ( ( ( CSym->at( static_cast< size_t > ( bestC ) )[6] * 0.80 ) > ( ( CSym->at(settings->allDetectedDAxes.at( static_cast< size_t > ( bestD ) ).at(0))[6] + CSym->at(settings->allDetectedDAxes.at( static_cast< size_t > ( bestD ) ).at(1))[6] ) / 2.0 ) ) &&
( ( CSym->at( static_cast< size_t > ( bestC ) )[5] * 0.95 ) > ( ( CSym->at(settings->allDetectedDAxes.at( static_cast< size_t > ( bestD ) ).at(0))[5] + CSym->at(settings->allDetectedDAxes.at( static_cast< size_t > ( bestD ) ).at(1))[5] ) / 2.0 ) ) )
{
settings->cleanDetectedSymmetry ( );
Expand Down

0 comments on commit 2d8d967

Please sign in to comment.