Skip to content

Commit

Permalink
Merge branch 'main' into maint/useless-expression
Browse files Browse the repository at this point in the history
  • Loading branch information
tkoyama010 committed May 3, 2024
2 parents 8a58029 + 36fd663 commit 2ca4fbf
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -349,6 +349,7 @@ extend-select = [
"B010",
"B018",
"B020",
"B027",
"C4",
"COM",
"DJ",
Expand Down
4 changes: 4 additions & 0 deletions pyvista/core/utilities/reader.py
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,7 @@ def SetFileName(self, filename):
"""Set file name."""
self._filename = filename

@abstractmethod
def UpdateInformation(self):
"""Update Information from file."""

Expand Down Expand Up @@ -2401,6 +2402,9 @@ def __init__(self):
self._n_frames = 0
self._current_frame = 0

def UpdateInformation(self):
"""Update Information from file."""

def GetProgress(self):
return self._current_frame / self._n_frames

Expand Down

0 comments on commit 2ca4fbf

Please sign in to comment.