From 50d9ed9a079c37c1053a30d7b5052651327ed76e Mon Sep 17 00:00:00 2001 From: Ryangguk Kim Date: Sun, 3 Dec 2023 08:52:17 -0500 Subject: [PATCH] Fixed extra line break in Windows with ov module info. --- oakvar/cli/module/info_fn.py | 6 +++++- setup.py | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/oakvar/cli/module/info_fn.py b/oakvar/cli/module/info_fn.py index 2cba4811..9ad93313 100644 --- a/oakvar/cli/module/info_fn.py +++ b/oakvar/cli/module/info_fn.py @@ -40,8 +40,12 @@ def print_module_info(module_info={}, outer=None): from rich.console import Console + from .. import CliOuter - console = Console(file=outer) + if isinstance(outer, CliOuter): + console = outer.out_writer + else: + console = Console(file=outer) readme_table = get_module_info_readme_table(module_info=module_info) basic_table = get_module_info_basic_table(module_info=module_info) developer_table = get_module_info_developer_table(module_info=module_info) diff --git a/setup.py b/setup.py index 6a9cd0f8..044e4bff 100644 --- a/setup.py +++ b/setup.py @@ -29,7 +29,7 @@ def walk_and_add(d, pkg_files): walk_and_add("cravat", cravat_files) setup( name="oakvar", - version="2.9.68", + version="2.9.69", description="A genomic variant analysis platform", long_description=long_description, long_description_content_type="text/x-rst",