-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into update-jinja2
# Conflicts: # poetry.lock
- Loading branch information
Showing
11 changed files
with
64 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
__title__ = "cg" | ||
__version__ = "65.0.10" | ||
__version__ = "65.0.13" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
"""Init for module""" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
"""CLI support to create config and/or start NALLO.""" | ||
|
||
import logging | ||
|
||
import rich_click as click | ||
|
||
from cg.cli.utils import CLICK_CONTEXT_SETTINGS | ||
from cg.constants.constants import MetaApis | ||
from cg.meta.workflow.analysis import AnalysisAPI | ||
from cg.meta.workflow.nallo import NalloAnalysisAPI | ||
|
||
LOG = logging.getLogger(__name__) | ||
|
||
|
||
@click.group(invoke_without_command=True, context_settings=CLICK_CONTEXT_SETTINGS) | ||
@click.pass_context | ||
def nallo(context: click.Context) -> None: | ||
"""GMS/Nallo analysis workflow.""" | ||
AnalysisAPI.get_help(context) | ||
context.obj.meta_apis[MetaApis.ANALYSIS_API] = NalloAnalysisAPI(config=context.obj) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
"""Module for Nallo Analysis API.""" | ||
|
||
import logging | ||
from cg.constants import Workflow | ||
from cg.meta.workflow.nf_analysis import NfAnalysisAPI | ||
from cg.models.cg_config import CGConfig | ||
|
||
LOG = logging.getLogger(__name__) | ||
|
||
|
||
class NalloAnalysisAPI(NfAnalysisAPI): | ||
"""Handles communication between Nallo processes | ||
and the rest of CG infrastructure.""" | ||
|
||
def __init__( | ||
self, | ||
config: CGConfig, | ||
workflow: Workflow = Workflow.NALLO, | ||
): | ||
super().__init__(config=config, workflow=workflow) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters