Skip to content

Commit 43bae85

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 7ce995b commit 43bae85

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

WrightTools/kit/_bluesky.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
class BlueskyFolder:
2929
"""container class for Bluesky acquisitions"""
3030

31-
def __init__(self, folder_path:str|pathlib.Path):
31+
def __init__(self, folder_path: str | pathlib.Path):
3232
self.path = pathlib.Path(folder_path)
3333
# DDK: better to extract the information from the data inside, rather than relying on the name
3434
# self.info = parse_folder_contents(folder_path.name)
@@ -89,6 +89,7 @@ def baseline_descriptor(self) -> dict:
8989

9090
class FolderInfo(NamedTuple):
9191
"""Object representation of bluesky folder names"""
92+
9293
date: datetime.date
9394
time: datetime.time
9495
plan: str
@@ -162,7 +163,6 @@ def parse_folder_contents(folder: str) -> FolderInfo | None:
162163
raise NotImplementedError
163164

164165

165-
166166
def parse_folder_name(folder: str) -> FolderInfo | None:
167167
"""
168168
Convert a bluesky-formatted folder name into a structured dictonary-like format.

0 commit comments

Comments
 (0)