[FOLDER RESTRUCTURING] Changed project structure from ROOT-DATA-DATABASE seperation into one path (DATA). Some ROOT and DATABASE variables still remain as unfunctional artefacts and need to be removed from the code

This commit is contained in:
Kaan Cökerim 2022-03-08 12:30:43 +01:00
parent 0dc5aff3fc
commit e9d3caafd3

View File

@ -189,7 +189,7 @@ def autoPyLoT(input_dict=None, parameter=None, inputfile=None, fnames=None, even
if not input_dict:
# started in production mode
datapath = datastructure.expandDataPath()
if fnames == 'None' and parameter['eventID'] != '*':
if fnames == 'None' and parameter['eventID'] == '*':
# multiple event processing
# read each event in database
events = [event for event in glob.glob(os.path.join(datapath, '*')) if