Skip to content

Commit dbc0f77

Browse files
authored
Files must be open as read mode only, IOC The user can not open the file due permissions issues. for example: -rw-r--r-- 1 tjark.miener ctan-onsite-it 86051602 May 21 09:02 /fefs/aswg/workspace/tjark.miener/DeepCrab/logs/theta_16.087_az_108.090/LST1_cleanedTRN_type_fixcamgeo/example_identifiers_file.h5. Setting to read mode I am able to read it.
1 parent 3b35ad6 commit dbc0f77

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dl1_data_handler/reader.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ def __init__(
276276
if example_identifiers_file is None:
277277
example_identifiers_file = {}
278278
else:
279-
example_identifiers_file = pd.HDFStore(example_identifiers_file)
279+
example_identifiers_file = pd.HDFStore(example_identifiers_file, mode='r')
280280

281281
if "/example_identifiers" in list(example_identifiers_file.keys()):
282282
self.example_identifiers = pd.read_hdf(

0 commit comments

Comments
 (0)