Project

General

Profile

Actions

Bug #2355

closed

self.selectiondata not set if there is no more images to process in makeDDParticleGIFMovie.py

Added by Anchi Cheng over 11 years ago. Updated over 10 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Amber Herold
Category:
-
Target version:
Start date:
05/06/2013
Due date:
% Done:

0%

Estimated time:
Affected Version:
Appion/Leginon 3.0.0
Show in known bugs:
No
Workaround:

Description

Test script on an session that is already done.

 makeDDParticleGIFMovie.py --selectionid=325 --boxsize=2000 --bin=1 -description="movie of defected frames" --projectid=280 --preset=ed --session=13may05a --runname=movieanchitest1 --rundir=/ami/data15/appion/13may05a/movie/movieanchitest1 --best-images --no-wait --commit --continue --expid=11654 --jobtype=movie --frameavg=1 --framestep=1

Error

skipping images
..............................................

!!! WARNING: skipped 43 of 43 images
 ... [[ 0 no reprocess  | 0 rejected  | 0 wrong tilt  | 0 in donedict ]]
 ... Process images old to new
!!! WARNING: Checking for dd
 ... Looking up session, 13may05a
!!! WARNING: No images were found to process
 ... Looking up session, 13may05a
missing acecutoff
missing checkimage
Traceback (most recent call last):
  File "/home/acheng/myami/appion/bin/makeDDParticleGIFMovie.py", line 21, in <module>
    makeMovie.run()
  File "/home/acheng/myami/appion/appionlib/appionLoop2.py", line 90, in run
    self.preLoopFunctions()
  File "/home/acheng/myami/appion/bin/makeDDParticleGIFMovie.py", line 13, in preLoopFunctions
    super(MakeDDParticleGIFMovieLoop,self).preLoopFunctions()
  File "/home/acheng/myami/appion/appionlib/apDDParticleMovie.py", line 62, in preLoopFunctions
    self.insertRun()
  File "/home/acheng/myami/appion/appionlib/apDDParticleMovie.py", line 194, in insertRun
    pmrunq = appiondata.ApParticleMovieRunData(path = pathq, movieRunName=self.params['runname'],session=sessiondata,movieParams=pmparamq,selectionrun=self.selectiondata)
AttributeError: 'MakeDDParticleGIFMovieLoop' object has no attribute 'selectiondata'

Actions #1

Updated by Anchi Cheng almost 11 years ago

  • Status changed from New to In Code Review
  • Assignee changed from Anchi Cheng to Amber Herold
  • Target version set to Appion/Leginon 3.0.0

r18026 makes ParticleExtractor to skip setting more attributes only if not waiting. Should not affect makestack, but raise question about how makestack would behave if waiting and there is no initial images. It probably would be vulnerable to conflicts that needs self.imagetree not to be empty to check values in preLoopFunctions. Something to consider later.

Actions #2

Updated by Amber Herold almost 11 years ago

  • Status changed from In Code Review to In Test
Actions #3

Updated by Amber Herold over 10 years ago

  • Status changed from In Test to Closed
Actions

Also available in: Atom PDF