11 selfile is the selection file with the names of the the EM images""",
13 opts, args = parser.parse_args()
15 parser.error(
"wrong number of arguments")
17 fn_images_names = args[0]
18 images_names = em2d.read_selection_file(fn_images_names)
19 srw = em2d.SpiderImageReaderWriter()
20 images=em2d.read_images(images_names,srw)
23 for s
in images_names:
24 jpg_names.append(re.sub(
".spi",
".jpg",s))
25 jrw = em2d.JPGImageReaderWriter()
26 em2d.save_images(images,jpg_names,jrw)