Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/cdci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ jobs:
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
steps:
- uses: actions/checkout@v4
- uses: psf/black@stable
- uses: isort/isort-action@v1
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
Expand Down
4 changes: 3 additions & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@

project = "vuegen"
copyright = "2024, Multiomics-Analytics-Group"
author = "Multiomics-Analytics-Group, Sebastián Ayala Ruano, Henry Webel, Alberto Santos"
author = (
"Multiomics-Analytics-Group, Sebastián Ayala Ruano, Henry Webel, Alberto Santos"
)
PACKAGE_VERSION = metadata.version("vuegen")
version = PACKAGE_VERSION
release = PACKAGE_VERSION
Expand Down
3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -60,3 +60,6 @@ docs = ["sphinx", "sphinx-book-theme", "myst-nb", "ipywidgets", "sphinx-new-tab-
[tool.poetry.scripts]
# https://python-poetry.org/docs/pyproject/#scripts
vuegen = "vuegen.__main__:main"

[tool.isort]
profile = "black"
2 changes: 1 addition & 1 deletion src/vuegen/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "1.0.0"
__version__ = "1.0.0"
19 changes: 11 additions & 8 deletions src/vuegen/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@ def main():
# https://docs.python.org/3/library/argparse.html#printing-help
parser.print_help()
sys.exit(1)

if config_path and dir_path:
print("Please provide only one of configuration file or directory path:\n")
parser.print_help()
sys.exit(1) # otherwise could resort to either or ?
sys.exit(1) # otherwise could resort to either or ?

# Define logger suffix based on report type and name
logger_suffix = f"{report_type}_report_{str(report_name)}"
Expand All @@ -39,11 +39,14 @@ def main():
logger = get_logger(f"{logger_suffix}")

# Generate the report
report_generator.get_report(report_type=report_type,
logger=logger,
config_path=config_path,
dir_path=dir_path,
streamlit_autorun=streamlit_autorun)
report_generator.get_report(
report_type=report_type,
logger=logger,
config_path=config_path,
dir_path=dir_path,
streamlit_autorun=streamlit_autorun,
)


if __name__ == '__main__':
if __name__ == "__main__":
main()
Loading
Loading