latch 2.45.2.dev2__tar.gz → 2.45.2.dev3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {latch-2.45.2.dev2/latch.egg-info → latch-2.45.2.dev3}/PKG-INFO +1 -1
- {latch-2.45.2.dev2 → latch-2.45.2.dev3/latch.egg-info}/PKG-INFO +1 -1
- {latch-2.45.2.dev2 → latch-2.45.2.dev3}/latch_cli/nextflow/workflow.py +22 -10
- {latch-2.45.2.dev2 → latch-2.45.2.dev3}/setup.py +1 -1
- {latch-2.45.2.dev2 → latch-2.45.2.dev3}/LICENSE +0 -0
- {latch-2.45.2.dev2 → latch-2.45.2.dev3}/MANIFEST.in +0 -0
- {latch-2.45.2.dev2 → latch-2.45.2.dev3}/README.md +0 -0
- {latch-2.45.2.dev2 → latch-2.45.2.dev3}/latch/__init__.py +0 -0
- {latch-2.45.2.dev2 → latch-2.45.2.dev3}/latch/account.py +0 -0
- {latch-2.45.2.dev2 → latch-2.45.2.dev3}/latch/executions.py +0 -0
- {latch-2.45.2.dev2 → latch-2.45.2.dev3}/latch/functions/__init__.py +0 -0
- {latch-2.45.2.dev2 → latch-2.45.2.dev3}/latch/functions/messages.py +0 -0
- {latch-2.45.2.dev2 → latch-2.45.2.dev3}/latch/functions/operators.py +0 -0
- {latch-2.45.2.dev2 → latch-2.45.2.dev3}/latch/functions/secrets.py +0 -0
- {latch-2.45.2.dev2 → latch-2.45.2.dev3}/latch/ldata/__init__.py +0 -0
- {latch-2.45.2.dev2 → latch-2.45.2.dev3}/latch/ldata/_transfer/__init__.py +0 -0
- {latch-2.45.2.dev2 → latch-2.45.2.dev3}/latch/ldata/_transfer/download.py +0 -0
- {latch-2.45.2.dev2 → latch-2.45.2.dev3}/latch/ldata/_transfer/manager.py +0 -0
- {latch-2.45.2.dev2 → latch-2.45.2.dev3}/latch/ldata/_transfer/node.py +0 -0
- {latch-2.45.2.dev2 → latch-2.45.2.dev3}/latch/ldata/_transfer/progress.py +0 -0
- {latch-2.45.2.dev2 → latch-2.45.2.dev3}/latch/ldata/_transfer/remote_copy.py +0 -0
- {latch-2.45.2.dev2 → latch-2.45.2.dev3}/latch/ldata/_transfer/throttle.py +0 -0
- {latch-2.45.2.dev2 → latch-2.45.2.dev3}/latch/ldata/_transfer/upload.py +0 -0
- {latch-2.45.2.dev2 → latch-2.45.2.dev3}/latch/ldata/_transfer/utils.py +0 -0
- {latch-2.45.2.dev2 → latch-2.45.2.dev3}/latch/ldata/path.py +0 -0
- {latch-2.45.2.dev2 → latch-2.45.2.dev3}/latch/ldata/type.py +0 -0
- {latch-2.45.2.dev2 → latch-2.45.2.dev3}/latch/registry/__init__.py +0 -0
- {latch-2.45.2.dev2 → latch-2.45.2.dev3}/latch/registry/project.py +0 -0
- {latch-2.45.2.dev2 → latch-2.45.2.dev3}/latch/registry/record.py +0 -0
- {latch-2.45.2.dev2 → latch-2.45.2.dev3}/latch/registry/table.py +0 -0
- {latch-2.45.2.dev2 → latch-2.45.2.dev3}/latch/registry/types.py +0 -0
- {latch-2.45.2.dev2 → latch-2.45.2.dev3}/latch/registry/upstream_types/__init__.py +0 -0
- {latch-2.45.2.dev2 → latch-2.45.2.dev3}/latch/registry/upstream_types/types.py +0 -0
- {latch-2.45.2.dev2 → latch-2.45.2.dev3}/latch/registry/upstream_types/values.py +0 -0
- {latch-2.45.2.dev2 → latch-2.45.2.dev3}/latch/registry/utils.py +0 -0
- {latch-2.45.2.dev2 → latch-2.45.2.dev3}/latch/resources/__init__.py +0 -0
- {latch-2.45.2.dev2 → latch-2.45.2.dev3}/latch/resources/conditional.py +0 -0
- {latch-2.45.2.dev2 → latch-2.45.2.dev3}/latch/resources/dynamic.py +0 -0
- {latch-2.45.2.dev2 → latch-2.45.2.dev3}/latch/resources/launch_plan.py +0 -0
- {latch-2.45.2.dev2 → latch-2.45.2.dev3}/latch/resources/map_tasks.py +0 -0
- {latch-2.45.2.dev2 → latch-2.45.2.dev3}/latch/resources/reference_workflow.py +0 -0
- {latch-2.45.2.dev2 → latch-2.45.2.dev3}/latch/resources/tasks.py +0 -0
- {latch-2.45.2.dev2 → latch-2.45.2.dev3}/latch/resources/workflow.py +0 -0
- {latch-2.45.2.dev2 → latch-2.45.2.dev3}/latch/types/__init__.py +0 -0
- {latch-2.45.2.dev2 → latch-2.45.2.dev3}/latch/types/directory.py +0 -0
- {latch-2.45.2.dev2 → latch-2.45.2.dev3}/latch/types/file.py +0 -0
- {latch-2.45.2.dev2 → latch-2.45.2.dev3}/latch/types/glob.py +0 -0
- {latch-2.45.2.dev2 → latch-2.45.2.dev3}/latch/types/json.py +0 -0
- {latch-2.45.2.dev2 → latch-2.45.2.dev3}/latch/types/metadata.py +0 -0
- {latch-2.45.2.dev2 → latch-2.45.2.dev3}/latch/types/utils.py +0 -0
- {latch-2.45.2.dev2 → latch-2.45.2.dev3}/latch/utils.py +0 -0
- {latch-2.45.2.dev2 → latch-2.45.2.dev3}/latch/verified/__init__.py +0 -0
- {latch-2.45.2.dev2 → latch-2.45.2.dev3}/latch/verified/deseq2.py +0 -0
- {latch-2.45.2.dev2 → latch-2.45.2.dev3}/latch/verified/mafft.py +0 -0
- {latch-2.45.2.dev2 → latch-2.45.2.dev3}/latch/verified/pathway.py +0 -0
- {latch-2.45.2.dev2 → latch-2.45.2.dev3}/latch/verified/rnaseq.py +0 -0
- {latch-2.45.2.dev2 → latch-2.45.2.dev3}/latch/verified/trim_galore.py +0 -0
- {latch-2.45.2.dev2 → latch-2.45.2.dev3}/latch.egg-info/SOURCES.txt +0 -0
- {latch-2.45.2.dev2 → latch-2.45.2.dev3}/latch.egg-info/dependency_links.txt +0 -0
- {latch-2.45.2.dev2 → latch-2.45.2.dev3}/latch.egg-info/entry_points.txt +0 -0
- {latch-2.45.2.dev2 → latch-2.45.2.dev3}/latch.egg-info/requires.txt +0 -0
- {latch-2.45.2.dev2 → latch-2.45.2.dev3}/latch.egg-info/top_level.txt +0 -0
- {latch-2.45.2.dev2 → latch-2.45.2.dev3}/latch_cli/__init__.py +0 -0
- {latch-2.45.2.dev2 → latch-2.45.2.dev3}/latch_cli/auth/__init__.py +0 -0
- {latch-2.45.2.dev2 → latch-2.45.2.dev3}/latch_cli/auth/csrf.py +0 -0
- {latch-2.45.2.dev2 → latch-2.45.2.dev3}/latch_cli/auth/oauth2.py +0 -0
- {latch-2.45.2.dev2 → latch-2.45.2.dev3}/latch_cli/auth/pkce.py +0 -0
- {latch-2.45.2.dev2 → latch-2.45.2.dev3}/latch_cli/auth/utils.py +0 -0
- {latch-2.45.2.dev2 → latch-2.45.2.dev3}/latch_cli/centromere/__init__.py +0 -0
- {latch-2.45.2.dev2 → latch-2.45.2.dev3}/latch_cli/centromere/ctx.py +0 -0
- {latch-2.45.2.dev2 → latch-2.45.2.dev3}/latch_cli/centromere/utils.py +0 -0
- {latch-2.45.2.dev2 → latch-2.45.2.dev3}/latch_cli/click_utils.py +0 -0
- {latch-2.45.2.dev2 → latch-2.45.2.dev3}/latch_cli/constants.py +0 -0
- {latch-2.45.2.dev2 → latch-2.45.2.dev3}/latch_cli/docker_utils/__init__.py +0 -0
- {latch-2.45.2.dev2 → latch-2.45.2.dev3}/latch_cli/exceptions/__init__.py +0 -0
- {latch-2.45.2.dev2 → latch-2.45.2.dev3}/latch_cli/exceptions/cache.py +0 -0
- {latch-2.45.2.dev2 → latch-2.45.2.dev3}/latch_cli/exceptions/errors.py +0 -0
- {latch-2.45.2.dev2 → latch-2.45.2.dev3}/latch_cli/exceptions/handler.py +0 -0
- {latch-2.45.2.dev2 → latch-2.45.2.dev3}/latch_cli/exceptions/traceback.py +0 -0
- {latch-2.45.2.dev2 → latch-2.45.2.dev3}/latch_cli/main.py +0 -0
- {latch-2.45.2.dev2 → latch-2.45.2.dev3}/latch_cli/menus.py +0 -0
- {latch-2.45.2.dev2 → latch-2.45.2.dev3}/latch_cli/nextflow/__init__.py +0 -0
- {latch-2.45.2.dev2 → latch-2.45.2.dev3}/latch_cli/nextflow/dependencies.py +0 -0
- {latch-2.45.2.dev2 → latch-2.45.2.dev3}/latch_cli/nextflow/utils.py +0 -0
- {latch-2.45.2.dev2 → latch-2.45.2.dev3}/latch_cli/services/__init__.py +0 -0
- {latch-2.45.2.dev2 → latch-2.45.2.dev3}/latch_cli/services/cp/__init__.py +0 -0
- {latch-2.45.2.dev2 → latch-2.45.2.dev3}/latch_cli/services/cp/autocomplete.py +0 -0
- {latch-2.45.2.dev2 → latch-2.45.2.dev3}/latch_cli/services/cp/glob.py +0 -0
- {latch-2.45.2.dev2 → latch-2.45.2.dev3}/latch_cli/services/cp/main.py +0 -0
- {latch-2.45.2.dev2 → latch-2.45.2.dev3}/latch_cli/services/cp/utils.py +0 -0
- {latch-2.45.2.dev2 → latch-2.45.2.dev3}/latch_cli/services/execute/__init__.py +0 -0
- {latch-2.45.2.dev2 → latch-2.45.2.dev3}/latch_cli/services/execute/main.py +0 -0
- {latch-2.45.2.dev2 → latch-2.45.2.dev3}/latch_cli/services/execute/utils.py +0 -0
- {latch-2.45.2.dev2 → latch-2.45.2.dev3}/latch_cli/services/get.py +0 -0
- {latch-2.45.2.dev2 → latch-2.45.2.dev3}/latch_cli/services/get_executions.py +0 -0
- {latch-2.45.2.dev2 → latch-2.45.2.dev3}/latch_cli/services/get_params.py +0 -0
- {latch-2.45.2.dev2 → latch-2.45.2.dev3}/latch_cli/services/init/__init__.py +0 -0
- {latch-2.45.2.dev2 → latch-2.45.2.dev3}/latch_cli/services/init/__pycache__/__init__.cpython-310.pyc +0 -0
- {latch-2.45.2.dev2 → latch-2.45.2.dev3}/latch_cli/services/init/__pycache__/init.cpython-310.pyc +0 -0
- {latch-2.45.2.dev2 → latch-2.45.2.dev3}/latch_cli/services/init/assemble_and_sort/.env +0 -0
- {latch-2.45.2.dev2 → latch-2.45.2.dev3}/latch_cli/services/init/assemble_and_sort/LICENSE +0 -0
- {latch-2.45.2.dev2 → latch-2.45.2.dev3}/latch_cli/services/init/assemble_and_sort/README.md +0 -0
- {latch-2.45.2.dev2 → latch-2.45.2.dev3}/latch_cli/services/init/assemble_and_sort/__init__.py +0 -0
- {latch-2.45.2.dev2 → latch-2.45.2.dev3}/latch_cli/services/init/assemble_and_sort/assemble.py +0 -0
- {latch-2.45.2.dev2 → latch-2.45.2.dev3}/latch_cli/services/init/assemble_and_sort/sort.py +0 -0
- {latch-2.45.2.dev2 → latch-2.45.2.dev3}/latch_cli/services/init/assemble_and_sort/system-requirements.txt +0 -0
- {latch-2.45.2.dev2 → latch-2.45.2.dev3}/latch_cli/services/init/common/.dockerignore +0 -0
- {latch-2.45.2.dev2 → latch-2.45.2.dev3}/latch_cli/services/init/example_conda/__init__.py +0 -0
- {latch-2.45.2.dev2 → latch-2.45.2.dev3}/latch_cli/services/init/example_conda/conda_task.py +0 -0
- {latch-2.45.2.dev2 → latch-2.45.2.dev3}/latch_cli/services/init/example_conda/environment.yaml +0 -0
- {latch-2.45.2.dev2 → latch-2.45.2.dev3}/latch_cli/services/init/example_docker/__init__.py +0 -0
- {latch-2.45.2.dev2 → latch-2.45.2.dev3}/latch_cli/services/init/example_docker/task.py +0 -0
- {latch-2.45.2.dev2 → latch-2.45.2.dev3}/latch_cli/services/init/example_nfcore/Dockerfile +0 -0
- {latch-2.45.2.dev2 → latch-2.45.2.dev3}/latch_cli/services/init/example_nfcore/__init__.py +0 -0
- {latch-2.45.2.dev2 → latch-2.45.2.dev3}/latch_cli/services/init/example_nfcore/task.py +0 -0
- {latch-2.45.2.dev2 → latch-2.45.2.dev3}/latch_cli/services/init/example_r/__init__.py +0 -0
- {latch-2.45.2.dev2 → latch-2.45.2.dev3}/latch_cli/services/init/example_r/environment.R +0 -0
- {latch-2.45.2.dev2 → latch-2.45.2.dev3}/latch_cli/services/init/example_r/r_task.py +0 -0
- {latch-2.45.2.dev2 → latch-2.45.2.dev3}/latch_cli/services/init/example_snakemake/.latch/latch_entrypoint +0 -0
- {latch-2.45.2.dev2 → latch-2.45.2.dev3}/latch_cli/services/init/example_snakemake/Dockerfile +0 -0
- {latch-2.45.2.dev2 → latch-2.45.2.dev3}/latch_cli/services/init/example_snakemake/Snakefile +0 -0
- {latch-2.45.2.dev2 → latch-2.45.2.dev3}/latch_cli/services/init/example_snakemake/config.yaml +0 -0
- {latch-2.45.2.dev2 → latch-2.45.2.dev3}/latch_cli/services/init/example_snakemake/environment.yaml +0 -0
- {latch-2.45.2.dev2 → latch-2.45.2.dev3}/latch_cli/services/init/example_snakemake/latch_metadata.py +0 -0
- {latch-2.45.2.dev2 → latch-2.45.2.dev3}/latch_cli/services/init/example_snakemake/scripts/plot-quals.py +0 -0
- {latch-2.45.2.dev2 → latch-2.45.2.dev3}/latch_cli/services/init/example_snakemake/version +0 -0
- {latch-2.45.2.dev2 → latch-2.45.2.dev3}/latch_cli/services/init/init.py +0 -0
- {latch-2.45.2.dev2 → latch-2.45.2.dev3}/latch_cli/services/init/template/LICENSE +0 -0
- {latch-2.45.2.dev2 → latch-2.45.2.dev3}/latch_cli/services/init/template/README.md +0 -0
- {latch-2.45.2.dev2 → latch-2.45.2.dev3}/latch_cli/services/init/template/__init__.py +0 -0
- {latch-2.45.2.dev2 → latch-2.45.2.dev3}/latch_cli/services/init/template/task.py +0 -0
- {latch-2.45.2.dev2 → latch-2.45.2.dev3}/latch_cli/services/launch.py +0 -0
- {latch-2.45.2.dev2 → latch-2.45.2.dev3}/latch_cli/services/local_dev.py +0 -0
- {latch-2.45.2.dev2 → latch-2.45.2.dev3}/latch_cli/services/local_dev_old.py +0 -0
- {latch-2.45.2.dev2 → latch-2.45.2.dev3}/latch_cli/services/login.py +0 -0
- {latch-2.45.2.dev2 → latch-2.45.2.dev3}/latch_cli/services/ls.py +0 -0
- {latch-2.45.2.dev2 → latch-2.45.2.dev3}/latch_cli/services/mkdir.py +0 -0
- {latch-2.45.2.dev2 → latch-2.45.2.dev3}/latch_cli/services/move.py +0 -0
- {latch-2.45.2.dev2 → latch-2.45.2.dev3}/latch_cli/services/preview.py +0 -0
- {latch-2.45.2.dev2 → latch-2.45.2.dev3}/latch_cli/services/register/__init__.py +0 -0
- {latch-2.45.2.dev2 → latch-2.45.2.dev3}/latch_cli/services/register/constants.py +0 -0
- {latch-2.45.2.dev2 → latch-2.45.2.dev3}/latch_cli/services/register/register.py +0 -0
- {latch-2.45.2.dev2 → latch-2.45.2.dev3}/latch_cli/services/register/utils.py +0 -0
- {latch-2.45.2.dev2 → latch-2.45.2.dev3}/latch_cli/services/rm.py +0 -0
- {latch-2.45.2.dev2 → latch-2.45.2.dev3}/latch_cli/services/stop_pod.py +0 -0
- {latch-2.45.2.dev2 → latch-2.45.2.dev3}/latch_cli/services/sync.py +0 -0
- {latch-2.45.2.dev2 → latch-2.45.2.dev3}/latch_cli/services/test_data/__init__.py +0 -0
- {latch-2.45.2.dev2 → latch-2.45.2.dev3}/latch_cli/services/test_data/ls.py +0 -0
- {latch-2.45.2.dev2 → latch-2.45.2.dev3}/latch_cli/services/test_data/remove.py +0 -0
- {latch-2.45.2.dev2 → latch-2.45.2.dev3}/latch_cli/services/test_data/upload.py +0 -0
- {latch-2.45.2.dev2 → latch-2.45.2.dev3}/latch_cli/services/test_data/utils.py +0 -0
- {latch-2.45.2.dev2 → latch-2.45.2.dev3}/latch_cli/services/workspace.py +0 -0
- {latch-2.45.2.dev2 → latch-2.45.2.dev3}/latch_cli/snakemake/__init__.py +0 -0
- {latch-2.45.2.dev2 → latch-2.45.2.dev3}/latch_cli/snakemake/config/__init__.py +0 -0
- {latch-2.45.2.dev2 → latch-2.45.2.dev3}/latch_cli/snakemake/config/parser.py +0 -0
- {latch-2.45.2.dev2 → latch-2.45.2.dev3}/latch_cli/snakemake/config/utils.py +0 -0
- {latch-2.45.2.dev2 → latch-2.45.2.dev3}/latch_cli/snakemake/serialize.py +0 -0
- {latch-2.45.2.dev2 → latch-2.45.2.dev3}/latch_cli/snakemake/serialize_utils.py +0 -0
- {latch-2.45.2.dev2 → latch-2.45.2.dev3}/latch_cli/snakemake/single_task_snakemake.py +0 -0
- {latch-2.45.2.dev2 → latch-2.45.2.dev3}/latch_cli/snakemake/utils.py +0 -0
- {latch-2.45.2.dev2 → latch-2.45.2.dev3}/latch_cli/snakemake/workflow.py +0 -0
- {latch-2.45.2.dev2 → latch-2.45.2.dev3}/latch_cli/tinyrequests.py +0 -0
- {latch-2.45.2.dev2 → latch-2.45.2.dev3}/latch_cli/tui/__init__.py +0 -0
- {latch-2.45.2.dev2 → latch-2.45.2.dev3}/latch_cli/utils/__init__.py +0 -0
- {latch-2.45.2.dev2 → latch-2.45.2.dev3}/latch_cli/utils/path.py +0 -0
- {latch-2.45.2.dev2 → latch-2.45.2.dev3}/latch_cli/workflow_config.py +0 -0
- {latch-2.45.2.dev2 → latch-2.45.2.dev3}/pyproject.toml +0 -0
- {latch-2.45.2.dev2 → latch-2.45.2.dev3}/setup.cfg +0 -0
- {latch-2.45.2.dev2 → latch-2.45.2.dev3}/tests/__init__.py +0 -0
- {latch-2.45.2.dev2 → latch-2.45.2.dev3}/tests/cp/__init__.py +0 -0
- {latch-2.45.2.dev2 → latch-2.45.2.dev3}/tests/fixtures.py +0 -0
- {latch-2.45.2.dev2 → latch-2.45.2.dev3}/tests/test_ls.py +0 -0
|
@@ -60,17 +60,19 @@ def initialize() -> str:
|
|
|
60
60
|
|
|
61
61
|
{preambles}
|
|
62
62
|
|
|
63
|
-
{
|
|
63
|
+
{samplesheet_funs}
|
|
64
64
|
|
|
65
65
|
@nextflow_runtime_task(cpu={cpu}, memory={memory})
|
|
66
66
|
def nextflow_runtime(pvc_name: str, {param_signature}) -> None:
|
|
67
67
|
try:
|
|
68
68
|
shared_dir = Path("/nf-workdir")
|
|
69
69
|
|
|
70
|
+
{samplesheet_constructors}
|
|
71
|
+
|
|
70
72
|
shutil.copytree(
|
|
71
73
|
Path("/root"),
|
|
72
74
|
shared_dir,
|
|
73
|
-
ignore=lambda src, names: ["latch", ".latch"],
|
|
75
|
+
ignore=lambda src, names: ["latch", ".latch", "nextflow", ".nextflow"],
|
|
74
76
|
ignore_dangling_symlinks=True,
|
|
75
77
|
dirs_exist_ok=True,
|
|
76
78
|
)
|
|
@@ -95,12 +97,13 @@ def nextflow_runtime(pvc_name: str, {param_signature}) -> None:
|
|
|
95
97
|
],
|
|
96
98
|
env=env,
|
|
97
99
|
check=True,
|
|
100
|
+
cwd=str(shared_dir),
|
|
98
101
|
)
|
|
99
102
|
except subprocess.CalledProcessError:
|
|
100
103
|
remote = LPath(urljoins("{remote_output_dir}", _get_execution_name(), "nextflow.log"))
|
|
101
104
|
print()
|
|
102
105
|
print(f"Uploading .nextflow.log to {{remote.path}}")
|
|
103
|
-
remote.upload_from(
|
|
106
|
+
remote.upload_from(shared_dir / ".nextflow.log")
|
|
104
107
|
raise
|
|
105
108
|
finally:
|
|
106
109
|
token = os.environ.get("FLYTE_INTERNAL_EXECUTION_ID")
|
|
@@ -172,7 +175,8 @@ def generate_nextflow_workflow(
|
|
|
172
175
|
flags = []
|
|
173
176
|
defaults: List[Tuple[str, str]] = []
|
|
174
177
|
no_defaults: List[str] = []
|
|
175
|
-
preambles:
|
|
178
|
+
preambles: set[str] = set()
|
|
179
|
+
samplesheet_funs: List[str] = []
|
|
176
180
|
samplesheet_constructors: List[str] = []
|
|
177
181
|
for param_name, param in parameters.items():
|
|
178
182
|
sig = f"{param_name}: {type_repr(param.type)}"
|
|
@@ -195,7 +199,7 @@ def generate_nextflow_workflow(
|
|
|
195
199
|
no_defaults.append(sig)
|
|
196
200
|
|
|
197
201
|
if param.samplesheet:
|
|
198
|
-
|
|
202
|
+
samplesheet_funs.append(
|
|
199
203
|
reindent(
|
|
200
204
|
f"""
|
|
201
205
|
{param_name}_construct_samplesheet = metadata._nextflow_metadata.parameters[{repr(param_name)}].samplesheet_constructor
|
|
@@ -204,10 +208,17 @@ def generate_nextflow_workflow(
|
|
|
204
208
|
),
|
|
205
209
|
)
|
|
206
210
|
|
|
211
|
+
samplesheet_constructors.append(
|
|
212
|
+
reindent(
|
|
213
|
+
f"{param_name}_samplesheet ="
|
|
214
|
+
f" {param_name}_construct_samplesheet({param_name})",
|
|
215
|
+
2,
|
|
216
|
+
),
|
|
217
|
+
)
|
|
218
|
+
|
|
207
219
|
flags.append(
|
|
208
220
|
reindent(
|
|
209
|
-
f"*get_flag({repr(param_name)},"
|
|
210
|
-
f" {param_name}_construct_samplesheet({param_name}))",
|
|
221
|
+
f"*get_flag({repr(param_name)}, {param_name}_samplesheet)",
|
|
211
222
|
4,
|
|
212
223
|
)
|
|
213
224
|
)
|
|
@@ -215,8 +226,8 @@ def generate_nextflow_workflow(
|
|
|
215
226
|
flags.append(reindent(f"*get_flag({repr(param_name)}, {param_name})", 4))
|
|
216
227
|
|
|
217
228
|
preamble = get_preamble(param.type)
|
|
218
|
-
if len(preamble) > 0:
|
|
219
|
-
preambles.
|
|
229
|
+
if len(preamble) > 0 and preamble not in preambles:
|
|
230
|
+
preambles.add(preamble)
|
|
220
231
|
|
|
221
232
|
if metadata._nextflow_metadata.output_dir is None:
|
|
222
233
|
output_dir = "latch:///nextflow_outputs"
|
|
@@ -238,7 +249,8 @@ def generate_nextflow_workflow(
|
|
|
238
249
|
execution_profile=(
|
|
239
250
|
execution_profile if execution_profile is not None else "standard"
|
|
240
251
|
),
|
|
241
|
-
preambles="\n\n".join(preambles),
|
|
252
|
+
preambles="\n\n".join(list(preambles)),
|
|
253
|
+
samplesheet_funs="\n".join(samplesheet_funs),
|
|
242
254
|
samplesheet_constructors="\n".join(samplesheet_constructors),
|
|
243
255
|
cpu=resources.cpus,
|
|
244
256
|
memory=resources.memory,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{latch-2.45.2.dev2 → latch-2.45.2.dev3}/latch_cli/services/init/__pycache__/__init__.cpython-310.pyc
RENAMED
|
File without changes
|
{latch-2.45.2.dev2 → latch-2.45.2.dev3}/latch_cli/services/init/__pycache__/init.cpython-310.pyc
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{latch-2.45.2.dev2 → latch-2.45.2.dev3}/latch_cli/services/init/assemble_and_sort/__init__.py
RENAMED
|
File without changes
|
{latch-2.45.2.dev2 → latch-2.45.2.dev3}/latch_cli/services/init/assemble_and_sort/assemble.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{latch-2.45.2.dev2 → latch-2.45.2.dev3}/latch_cli/services/init/example_conda/environment.yaml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{latch-2.45.2.dev2 → latch-2.45.2.dev3}/latch_cli/services/init/example_snakemake/Dockerfile
RENAMED
|
File without changes
|
|
File without changes
|
{latch-2.45.2.dev2 → latch-2.45.2.dev3}/latch_cli/services/init/example_snakemake/config.yaml
RENAMED
|
File without changes
|
{latch-2.45.2.dev2 → latch-2.45.2.dev3}/latch_cli/services/init/example_snakemake/environment.yaml
RENAMED
|
File without changes
|
{latch-2.45.2.dev2 → latch-2.45.2.dev3}/latch_cli/services/init/example_snakemake/latch_metadata.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|