From c266e41833f097586673b327fdbe46f332b516af Mon Sep 17 00:00:00 2001 From: gac-x04sa Date: Tue, 30 Oct 2018 16:17:52 +0100 Subject: [PATCH] Closedown --- script/cpython/wrapper.py | 1 - script/device/Image.py | 2 -- script/test/TestImage.py | 2 +- 3 files changed, 1 insertion(+), 4 deletions(-) diff --git a/script/cpython/wrapper.py b/script/cpython/wrapper.py index 4b46375..65cbc7d 100644 --- a/script/cpython/wrapper.py +++ b/script/cpython/wrapper.py @@ -1,7 +1,6 @@ from jeputils import * def img_get_int(fname, header, width, height, depth, x1,y1,x2,y2, bx1,by1,bx2,by2 ): - print [fname, header, width, height, depth, x1,y1,x2,y2, bx1,by1,bx2,by2] ret = call_jep("CPython/image_functions", "img_get_int", [fname, header, width, height, depth, x1,y1,x2,y2, bx1,by1,bx2,by2]) return ret diff --git a/script/device/Image.py b/script/device/Image.py index 0e36dca..452bafb 100644 --- a/script/device/Image.py +++ b/script/device/Image.py @@ -1,5 +1,4 @@ from shutil import copyfile -run("cpython/wrapper") class Image(DeviceBase, Readable): def __init__(self, name, pixel): @@ -59,7 +58,6 @@ class Image(DeviceBase, Readable): add_device( Image("image", pixel), True) -print image.read() diff --git a/script/test/TestImage.py b/script/test/TestImage.py index 884b13e..5121868 100644 --- a/script/test/TestImage.py +++ b/script/test/TestImage.py @@ -9,7 +9,7 @@ import sys # threshold 4 # median filter # filter nsigma -info = /sls/X04SA/data/x04sa/ES3/pixel/images/tmp/spec_image_info.dat +info = "/sls/X04SA/data/x04sa/ES3/pixel/images/tmp/spec_image_info.dat" thres1 = 40 thres2 = 500 thres3 = 8000