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[]) ...@@ -164,9 +164,11 @@ int bioem::configure(int ac, char* av[])
/****************** Precalculating Necessary Stuff *********************/ /****************** Precalculating Necessary Stuff *********************/
precalculate(); precalculate();
param.nTotGridAngles = 10; if (getenv("BIOEM_DEBUG_BREAK"))
param.nTotCTFs = 10; {
//param.param_device.maxDisplaceCenter = 0; param.nTotGridAngles = atoi(getenv("BIOEM_DEBUG_BREAK"));
param.nTotCTFs = atoi(getenv("BIOEM_DEBUG_BREAK"));
}
deviceInit(); 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