Example #1
0
void SpatialContext::FindDimensionsByType (char *explog_path)
{
  int dims[2];
  GetChipDim (chipType.c_str(), dims, explog_path); // @what if we're doing from wells and there are no dats?
  chip_len_x = dims[0];
  chip_len_y = dims[1];
}
Example #2
0
void SpatialContext::FindDimensionsByType (char *dat_source_directory)
{
  char *chipType = GetChipId (dat_source_directory);
  ChipIdDecoder::SetGlobalChipId (chipType); // @TODO: bad coding style, function side effect setting global variable
  int dims[2];
  GetChipDim (chipType, dims, dat_source_directory); // @what if we're doing from wells and there are no dats?
  chip_len_x = dims[0];
  chip_len_y = dims[1];
}