Corrected the CIF input scaling to include the 2nd set of planes used

by GDS reads.
This commit is contained in:
Tim Edwards 2021-01-25 15:05:05 -05:00
parent dfba4601f1
commit fd49cad047
1 changed files with 4 additions and 2 deletions

View File

@ -386,8 +386,10 @@ CIFInputRescale(n, d)
}
}
CIFScalePlanes(n, d, cifEditCellPlanes);
if (cifEditCellPlanes != cifSubcellPlanes)
CIFScalePlanes(n, d, cifCurReadPlanes);
if (cifCurReadPlanes != cifEditCellPlanes)
CIFScalePlanes(n, d, cifEditCellPlanes);
if (cifEditCellPlanes != cifSubcellPlanes && cifCurReadPlanes != cifSubcellPlanes)
CIFScalePlanes(n, d, cifSubcellPlanes);
CIFReadWarning("CIF style %s: units rescaled by factor of %d / %d\n",