We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1ddd24a commit b6444a4Copy full SHA for b6444a4
1 file changed
TCFile/TCFile_class.py
@@ -6,8 +6,17 @@
6
import hdf5plugin
7
import re
8
import dask.array as da
9
+import warnings
10
11
def TCFile(tcfname:str, imgtype, channel=0):
12
+ warnings.warn(
13
+ "TCFile function is deprecated and will be removed by the end of 2026. "
14
+ "Please use TCFZarrStore from TCFile.zarr_store instead for a more flexible "
15
+ "and standards-compliant zarr interface. "
16
+ "Example: from TCFile.zarr_store import TCFZarrStore; store = TCFZarrStore('file.TCF')",
17
+ DeprecationWarning,
18
+ stacklevel=2
19
+ )
20
if imgtype == '3D':
21
return TCFileRI3D(tcfname)
22
if imgtype == '2DMIP':
0 commit comments