stanley-king 2 년 전
부모
커밋
e38bebf6cf
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      plot/refill/DataStream.py

+ 1 - 1
plot/refill/DataStream.py

@@ -26,7 +26,7 @@ def day_stamp(stamp):
 
 def open_hdf5(file, is_wirte):
     if is_wirte:
-        return h5py.File(file, 'a', libver='latest')
+        return h5py.File(file, 'a', libver='latest', swmr=True)
     else:
         return h5py.File(file, 'r', libver='latest', swmr=True)