Skip to content

Commit

Permalink
Made SubFramePath a PureWindowsPath. (#23)
Browse files Browse the repository at this point in the history
  • Loading branch information
shahpnmlab authored Feb 28, 2024
1 parent 25ba498 commit f4d3826
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/mdocfile/data_models.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from pydantic import field_validator, BaseModel
from pathlib import Path
from pathlib import Path, PureWindowsPath
from typing import List, Optional, Tuple, Union, Sequence

from mdocfile.utils import find_section_entries, find_title_entries
Expand Down Expand Up @@ -98,7 +98,7 @@ class MdocSectionData(BaseModel):
AlignedPieceCoords: Optional[Union[Tuple[float, float], Tuple[float, float, float]]] = None
AlignedPieceCoordsVS: Optional[
Union[Tuple[float, float], Tuple[float, float, float]]] = None
SubFramePath: Optional[Path] = None
SubFramePath: Optional[PureWindowsPath] = None
NumSubFrames: Optional[int] = None
FrameDosesAndNumbers: Optional[Sequence[Tuple[float, int]]] = None
DateTime: Optional[str] = None
Expand Down

0 comments on commit f4d3826

Please sign in to comment.