Commit 05a2d8b4 authored by Ruxandra Cojocaru's avatar Ruxandra Cojocaru

Fixed minor bugs related to check_input, ROI handling and logging

parent 56d19bff
......@@ -42,6 +42,8 @@ import h5py
import time
import datetime
import logging
from logging.handlers import RotatingFileHandler
from logging import handlers
# Non-standard python libraries
from EdfFile import EdfFile
import func
......
This diff is collapsed.
File added
File added
......@@ -7,7 +7,7 @@ prefix_flat = 'none'
avg = 'median'
prefix_files = 'det'
file_type = 'edf'
dir_out = './testdata/det-dist/'
dir_out = './output/det-dist/'
subdir_data = 'data'
subdir_fig = 'figures'
ROI_mode = 'input'
......@@ -31,14 +31,16 @@ path_dark1 = 'none'
path_dark2 = 'none'
prefix_dark1 = 'none'
prefix_dark2 = 'none'
path_flat1 = './testdata/flats/'
path_flat1 = './resources/flats/'
path_flat2 = 'none'
prefix_flat1 = 'flat'
prefix_flat2 = 'none'
file_type = 'edf'
dir_out = './output/'
horz_disto_map1 = './testdata/disto_maps/img_distoH.dat'
vert_disto_map1 = './testdata/disto_maps/img_distoV.dat'
subdir_data = 'data'
subdir_fig = 'figures'
horz_disto_map1 = './resources/disto_maps/img_distoH.dat'
vert_disto_map1 = './resources/disto_maps/img_distoV.dat'
horz_disto_map2 = 'none'
vert_disto_map2 = 'none'
ROI_mode = 'input'
......
......@@ -91,7 +91,6 @@ def main():
# Read input parameters from ini file
section = 'waveFront.config'
param = func.check_input(section, path_ini, dt)
# Start also saving log information to file
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment