Skip to content

Commit 47f0675

Browse files
committed
fix output generatioN
1 parent 86bc2c0 commit 47f0675

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

xmipptomo/protocols/protocol_detect_misalignment_TS.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -514,7 +514,7 @@ def generateOutputStep(self, tsObjId):
514514
lm = tomoObj.LandmarkModel(tsId=tsId,
515515
fileName=lmFileName,
516516
modelName=None,
517-
size=self.fiducialSize.get() * 10,
517+
size=self.fiducialSize.get(),
518518
applyTSTransformation=Boolean(True))
519519
lm.setTiltSeries(newTs)
520520

@@ -523,8 +523,8 @@ def generateOutputStep(self, tsObjId):
523523
for lmInfo in vcmInfoList:
524524
lm.addLandmark(xCoor=lmInfo[0],
525525
yCoor=lmInfo[1],
526-
tiltIm=lmInfo[2],
527-
chainId=lmInfo[3],
526+
tiltIm=lmInfo[2]+1,
527+
chainId=lmInfo[3]+1,
528528
xResid=lmInfo[4],
529529
yResid=lmInfo[5])
530530

0 commit comments

Comments
 (0)