File tree Expand file tree Collapse file tree 3 files changed +4
-14
lines changed Expand file tree Collapse file tree 3 files changed +4
-14
lines changed Original file line number Diff line number Diff line change 77https://ops.aps.anl.gov/manuals/SDDStoolkit/SDDStoolkitsu2.html
88"""
99
10- from __future__ import annotations
11-
1210import logging
1311import warnings
12+ from collections .abc import Iterator
1413from dataclasses import dataclass , fields
15- from typing import TYPE_CHECKING , Any , ClassVar
16-
17- if TYPE_CHECKING :
18- from collections .abc import Iterator
14+ from typing import Any , ClassVar
1915
2016LOGGER = logging .getLogger (__name__ )
2117
Original file line number Diff line number Diff line change 66It provides a high-level function to read SDDS files in different formats, and a series of helpers.
77"""
88
9- from __future__ import annotations
10-
119import gzip
1210import os
1311import pathlib
Original file line number Diff line number Diff line change 66It provides a high-level function to write SDDS files in different formats, and a series of helpers.
77"""
88
9- from __future__ import annotations
10-
119import pathlib
1210import struct
13- from typing import IO , TYPE_CHECKING , Any
11+ from collections .abc import Iterable
12+ from typing import IO , Any
1413
1514import numpy as np
1615
2625 get_dtype_str ,
2726)
2827
29- if TYPE_CHECKING :
30- from collections .abc import Iterable
31-
3228
3329def write_sdds (sdds_file : SddsFile , output_path : pathlib .Path | str ) -> None :
3430 """
You can’t perform that action at this time.
0 commit comments