Skip to content

Commit dc1fc66

Browse files
committed
fix hdf5 settings to be passed as kwargs
1 parent 354e772 commit dc1fc66

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

scripts/build_raw_blind.py

+7-3
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,11 @@
117117
# if this isn't an interesting channel, just copy it to the output file
118118
chobj, _ = store.read_object(channel, args.input, decompress=False)
119119
store.write_object(
120-
chobj, channel, lh5_file=temp_output, wo_mode="w", hdf5_settings=hdf_settings
120+
chobj,
121+
channel,
122+
lh5_file=temp_output,
123+
wo_mode="w",
124+
**hdf_settings,
121125
)
122126
continue
123127

@@ -130,7 +134,7 @@
130134
name="raw",
131135
lh5_file=temp_output,
132136
wo_mode="w",
133-
hdf5_settings=hdf_settings,
137+
**hdf_settings,
134138
)
135139
continue
136140

@@ -148,7 +152,7 @@
148152
name="raw",
149153
lh5_file=temp_output,
150154
wo_mode="w",
151-
hdf5_settings=hdf_settings,
155+
**hdf_settings,
152156
)
153157

154158
# rename the temp file

0 commit comments

Comments
 (0)