Project

General

Profile

Actions

Feature #1784

closed

Script to clean up unwanted dd rawframes

Added by Anchi Cheng about 12 years ago. Updated over 10 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Leginon subsystem
Target version:
Start date:
05/04/2012
Due date:
% Done:

0%

Estimated time:
Deliverable:

Description

Raw frames take up too much room. This script will clean up in a session the raw frame directories transferred from decamera's computer.

Data that less than 2 hr old will not be removed in case that transfer process is still on going.

Actions #1

Updated by Anchi Cheng about 12 years ago

  • Status changed from Assigned to In Code Review
  • Assignee changed from Anchi Cheng to Jim Pulokas

committed as r16590

Usage: cleanddraw.py sessionname status
sessionname (str): Leginon session name
status (choice): "hidden", "not-best", or "all"

Usage example:

This will remove all images with rawframe saved if they are hidden images in the web viewer

/opt/myamisnap/bin/appion cleanddraw.py 12may04session hidden

Actions #2

Updated by Jim Pulokas almost 12 years ago

  • Status changed from In Code Review to In Test
  • Assignee changed from Jim Pulokas to Anchi Cheng

looks good. assume this is well tested, but I will let you decide.

Actions #3

Updated by Dmitry Lyumkis almost 12 years ago

it's been working for me

Actions #4

Updated by Anchi Cheng over 11 years ago

  • Status changed from In Test to Closed
Actions #5

Updated by Anchi Cheng over 10 years ago

  • Target version set to myami-3.0
Actions

Also available in: Atom PDF