Commit 9ecded8c authored by David Rohr's avatar David Rohr
Browse files

use debug code only when environment variable set

parent 4f312113
......@@ -164,9 +164,11 @@ int bioem::configure(int ac, char* av[])
/****************** Precalculating Necessary Stuff *********************/
precalculate();
param.nTotGridAngles = 10;
param.nTotCTFs = 10;
//param.param_device.maxDisplaceCenter = 0;
if (getenv("BIOEM_DEBUG_BREAK"))
{
param.nTotGridAngles = atoi(getenv("BIOEM_DEBUG_BREAK"));
param.nTotCTFs = atoi(getenv("BIOEM_DEBUG_BREAK"));
}
deviceInit();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment