From cab29b19c262e5f1913c18806aa3c08799eb5b5c Mon Sep 17 00:00:00 2001 From: yuji38kwmt Date: Tue, 1 Nov 2022 11:27:25 +0900 Subject: [PATCH] =?UTF-8?q?`stat=5Fvisualization=20mask=5Fuser=5Finfo`?= =?UTF-8?q?=E3=81=AE=E4=B8=8D=E5=85=B7=E5=90=88=E4=BF=AE=E6=AD=A3=20(#888)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * エラー判定の修正 * version uup --- annofabcli/__version__.py | 2 +- annofabcli/stat_visualization/mask_visualization_dir.py | 4 ++-- pyproject.toml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/annofabcli/__version__.py b/annofabcli/__version__.py index 11ab8212..6ba9a679 100644 --- a/annofabcli/__version__.py +++ b/annofabcli/__version__.py @@ -1 +1 @@ -__version__ = "1.73.0" +__version__ = "1.73.1" diff --git a/annofabcli/stat_visualization/mask_visualization_dir.py b/annofabcli/stat_visualization/mask_visualization_dir.py index 651ff5ae..054044a1 100755 --- a/annofabcli/stat_visualization/mask_visualization_dir.py +++ b/annofabcli/stat_visualization/mask_visualization_dir.py @@ -108,8 +108,8 @@ def mask_visualization_dir( exclude_masked_user_for_line_graph: bool = False, ) -> None: user_performance = project_dir.read_user_performance() - if user_performance.empty(): - logger.warning(f"メンバごとの生産性と品質情報が空であるため、ユーザー情報をマスクできません。終了します。") + if user_performance.is_empty(): + logger.warning("メンバごとの生産性と品質情報が空であるため、ユーザー情報をマスクできません。終了します。") return # マスクするユーザの情報を取得する diff --git a/pyproject.toml b/pyproject.toml index f44929fd..4bd19498 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "annofabcli" -version = "1.73.0" +version = "1.73.1" description = "Utility Command Line Interface for AnnoFab" authors = ["yuji38kwmt"] license = "MIT"