latch 2.46.2__tar.gz → 2.46.2.dev1__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.46.2/latch.egg-info → latch-2.46.2.dev1}/PKG-INFO +1 -1
- {latch-2.46.2 → latch-2.46.2.dev1}/latch/resources/tasks.py +18 -39
- {latch-2.46.2 → latch-2.46.2.dev1/latch.egg-info}/PKG-INFO +1 -1
- {latch-2.46.2 → latch-2.46.2.dev1}/latch.egg-info/SOURCES.txt +0 -11
- {latch-2.46.2 → latch-2.46.2.dev1}/latch_cli/nextflow/dependencies.py +1 -1
- {latch-2.46.2 → latch-2.46.2.dev1}/latch_cli/nextflow/workflow.py +12 -10
- latch-2.46.2.dev1/latch_cli/services/init/__pycache__/__init__.cpython-310.pyc +0 -0
- {latch-2.46.2 → latch-2.46.2.dev1}/latch_cli/services/init/__pycache__/init.cpython-310.pyc +0 -0
- {latch-2.46.2 → latch-2.46.2.dev1}/setup.py +1 -1
- latch-2.46.2/latch_cli/services/init/__pycache__/__init__.cpython-310.pyc +0 -0
- latch-2.46.2/latch_cli/services/init/__pycache__/__init__.cpython-311.pyc +0 -0
- latch-2.46.2/latch_cli/services/init/__pycache__/__init__.cpython-38.pyc +0 -0
- latch-2.46.2/latch_cli/services/init/__pycache__/__init__.cpython-39.pyc +0 -0
- latch-2.46.2/latch_cli/services/init/__pycache__/init.cpython-311.pyc +0 -0
- latch-2.46.2/latch_cli/services/init/__pycache__/init.cpython-38.pyc +0 -0
- latch-2.46.2/latch_cli/services/init/__pycache__/init.cpython-39.pyc +0 -0
- latch-2.46.2/latch_cli/services/init/assemble_and_sort/__pycache__/__init__.cpython-310.pyc +0 -0
- latch-2.46.2/latch_cli/services/init/example_conda/__pycache__/__init__.cpython-310.pyc +0 -0
- latch-2.46.2/latch_cli/services/init/example_nf_integration/latch_metadata/__pycache__/__init__.cpython-311.pyc +0 -0
- latch-2.46.2/latch_cli/services/init/example_r/__pycache__/__init__.cpython-310.pyc +0 -0
- latch-2.46.2/latch_cli/services/init/template/__pycache__/__init__.cpython-310.pyc +0 -0
- {latch-2.46.2 → latch-2.46.2.dev1}/LICENSE +0 -0
- {latch-2.46.2 → latch-2.46.2.dev1}/MANIFEST.in +0 -0
- {latch-2.46.2 → latch-2.46.2.dev1}/README.md +0 -0
- {latch-2.46.2 → latch-2.46.2.dev1}/latch/__init__.py +0 -0
- {latch-2.46.2 → latch-2.46.2.dev1}/latch/account.py +0 -0
- {latch-2.46.2 → latch-2.46.2.dev1}/latch/executions.py +0 -0
- {latch-2.46.2 → latch-2.46.2.dev1}/latch/functions/__init__.py +0 -0
- {latch-2.46.2 → latch-2.46.2.dev1}/latch/functions/messages.py +0 -0
- {latch-2.46.2 → latch-2.46.2.dev1}/latch/functions/operators.py +0 -0
- {latch-2.46.2 → latch-2.46.2.dev1}/latch/functions/secrets.py +0 -0
- {latch-2.46.2 → latch-2.46.2.dev1}/latch/ldata/__init__.py +0 -0
- {latch-2.46.2 → latch-2.46.2.dev1}/latch/ldata/_transfer/__init__.py +0 -0
- {latch-2.46.2 → latch-2.46.2.dev1}/latch/ldata/_transfer/download.py +0 -0
- {latch-2.46.2 → latch-2.46.2.dev1}/latch/ldata/_transfer/manager.py +0 -0
- {latch-2.46.2 → latch-2.46.2.dev1}/latch/ldata/_transfer/node.py +0 -0
- {latch-2.46.2 → latch-2.46.2.dev1}/latch/ldata/_transfer/progress.py +0 -0
- {latch-2.46.2 → latch-2.46.2.dev1}/latch/ldata/_transfer/remote_copy.py +0 -0
- {latch-2.46.2 → latch-2.46.2.dev1}/latch/ldata/_transfer/throttle.py +0 -0
- {latch-2.46.2 → latch-2.46.2.dev1}/latch/ldata/_transfer/upload.py +0 -0
- {latch-2.46.2 → latch-2.46.2.dev1}/latch/ldata/_transfer/utils.py +0 -0
- {latch-2.46.2 → latch-2.46.2.dev1}/latch/ldata/path.py +0 -0
- {latch-2.46.2 → latch-2.46.2.dev1}/latch/ldata/type.py +0 -0
- {latch-2.46.2 → latch-2.46.2.dev1}/latch/registry/__init__.py +0 -0
- {latch-2.46.2 → latch-2.46.2.dev1}/latch/registry/project.py +0 -0
- {latch-2.46.2 → latch-2.46.2.dev1}/latch/registry/record.py +0 -0
- {latch-2.46.2 → latch-2.46.2.dev1}/latch/registry/table.py +0 -0
- {latch-2.46.2 → latch-2.46.2.dev1}/latch/registry/types.py +0 -0
- {latch-2.46.2 → latch-2.46.2.dev1}/latch/registry/upstream_types/__init__.py +0 -0
- {latch-2.46.2 → latch-2.46.2.dev1}/latch/registry/upstream_types/types.py +0 -0
- {latch-2.46.2 → latch-2.46.2.dev1}/latch/registry/upstream_types/values.py +0 -0
- {latch-2.46.2 → latch-2.46.2.dev1}/latch/registry/utils.py +0 -0
- {latch-2.46.2 → latch-2.46.2.dev1}/latch/resources/__init__.py +0 -0
- {latch-2.46.2 → latch-2.46.2.dev1}/latch/resources/conditional.py +0 -0
- {latch-2.46.2 → latch-2.46.2.dev1}/latch/resources/dynamic.py +0 -0
- {latch-2.46.2 → latch-2.46.2.dev1}/latch/resources/launch_plan.py +0 -0
- {latch-2.46.2 → latch-2.46.2.dev1}/latch/resources/map_tasks.py +0 -0
- {latch-2.46.2 → latch-2.46.2.dev1}/latch/resources/reference_workflow.py +0 -0
- {latch-2.46.2 → latch-2.46.2.dev1}/latch/resources/workflow.py +0 -0
- {latch-2.46.2 → latch-2.46.2.dev1}/latch/types/__init__.py +0 -0
- {latch-2.46.2 → latch-2.46.2.dev1}/latch/types/directory.py +0 -0
- {latch-2.46.2 → latch-2.46.2.dev1}/latch/types/file.py +0 -0
- {latch-2.46.2 → latch-2.46.2.dev1}/latch/types/glob.py +0 -0
- {latch-2.46.2 → latch-2.46.2.dev1}/latch/types/json.py +0 -0
- {latch-2.46.2 → latch-2.46.2.dev1}/latch/types/metadata.py +0 -0
- {latch-2.46.2 → latch-2.46.2.dev1}/latch/types/utils.py +0 -0
- {latch-2.46.2 → latch-2.46.2.dev1}/latch/utils.py +0 -0
- {latch-2.46.2 → latch-2.46.2.dev1}/latch/verified/__init__.py +0 -0
- {latch-2.46.2 → latch-2.46.2.dev1}/latch/verified/deseq2.py +0 -0
- {latch-2.46.2 → latch-2.46.2.dev1}/latch/verified/mafft.py +0 -0
- {latch-2.46.2 → latch-2.46.2.dev1}/latch/verified/pathway.py +0 -0
- {latch-2.46.2 → latch-2.46.2.dev1}/latch/verified/rnaseq.py +0 -0
- {latch-2.46.2 → latch-2.46.2.dev1}/latch/verified/trim_galore.py +0 -0
- {latch-2.46.2 → latch-2.46.2.dev1}/latch.egg-info/dependency_links.txt +0 -0
- {latch-2.46.2 → latch-2.46.2.dev1}/latch.egg-info/entry_points.txt +0 -0
- {latch-2.46.2 → latch-2.46.2.dev1}/latch.egg-info/requires.txt +0 -0
- {latch-2.46.2 → latch-2.46.2.dev1}/latch.egg-info/top_level.txt +0 -0
- {latch-2.46.2 → latch-2.46.2.dev1}/latch_cli/__init__.py +0 -0
- {latch-2.46.2 → latch-2.46.2.dev1}/latch_cli/auth/__init__.py +0 -0
- {latch-2.46.2 → latch-2.46.2.dev1}/latch_cli/auth/csrf.py +0 -0
- {latch-2.46.2 → latch-2.46.2.dev1}/latch_cli/auth/oauth2.py +0 -0
- {latch-2.46.2 → latch-2.46.2.dev1}/latch_cli/auth/pkce.py +0 -0
- {latch-2.46.2 → latch-2.46.2.dev1}/latch_cli/auth/utils.py +0 -0
- {latch-2.46.2 → latch-2.46.2.dev1}/latch_cli/centromere/__init__.py +0 -0
- {latch-2.46.2 → latch-2.46.2.dev1}/latch_cli/centromere/ctx.py +0 -0
- {latch-2.46.2 → latch-2.46.2.dev1}/latch_cli/centromere/utils.py +0 -0
- {latch-2.46.2 → latch-2.46.2.dev1}/latch_cli/click_utils.py +0 -0
- {latch-2.46.2 → latch-2.46.2.dev1}/latch_cli/constants.py +0 -0
- {latch-2.46.2 → latch-2.46.2.dev1}/latch_cli/docker_utils/__init__.py +0 -0
- {latch-2.46.2 → latch-2.46.2.dev1}/latch_cli/exceptions/__init__.py +0 -0
- {latch-2.46.2 → latch-2.46.2.dev1}/latch_cli/exceptions/cache.py +0 -0
- {latch-2.46.2 → latch-2.46.2.dev1}/latch_cli/exceptions/errors.py +0 -0
- {latch-2.46.2 → latch-2.46.2.dev1}/latch_cli/exceptions/handler.py +0 -0
- {latch-2.46.2 → latch-2.46.2.dev1}/latch_cli/exceptions/traceback.py +0 -0
- {latch-2.46.2 → latch-2.46.2.dev1}/latch_cli/main.py +0 -0
- {latch-2.46.2 → latch-2.46.2.dev1}/latch_cli/menus.py +0 -0
- {latch-2.46.2 → latch-2.46.2.dev1}/latch_cli/nextflow/__init__.py +0 -0
- {latch-2.46.2 → latch-2.46.2.dev1}/latch_cli/nextflow/config.py +0 -0
- {latch-2.46.2 → latch-2.46.2.dev1}/latch_cli/nextflow/utils.py +0 -0
- {latch-2.46.2 → latch-2.46.2.dev1}/latch_cli/services/__init__.py +0 -0
- {latch-2.46.2 → latch-2.46.2.dev1}/latch_cli/services/cp/__init__.py +0 -0
- {latch-2.46.2 → latch-2.46.2.dev1}/latch_cli/services/cp/autocomplete.py +0 -0
- {latch-2.46.2 → latch-2.46.2.dev1}/latch_cli/services/cp/glob.py +0 -0
- {latch-2.46.2 → latch-2.46.2.dev1}/latch_cli/services/cp/main.py +0 -0
- {latch-2.46.2 → latch-2.46.2.dev1}/latch_cli/services/cp/utils.py +0 -0
- {latch-2.46.2 → latch-2.46.2.dev1}/latch_cli/services/execute/__init__.py +0 -0
- {latch-2.46.2 → latch-2.46.2.dev1}/latch_cli/services/execute/main.py +0 -0
- {latch-2.46.2 → latch-2.46.2.dev1}/latch_cli/services/execute/utils.py +0 -0
- {latch-2.46.2 → latch-2.46.2.dev1}/latch_cli/services/get.py +0 -0
- {latch-2.46.2 → latch-2.46.2.dev1}/latch_cli/services/get_executions.py +0 -0
- {latch-2.46.2 → latch-2.46.2.dev1}/latch_cli/services/get_params.py +0 -0
- {latch-2.46.2 → latch-2.46.2.dev1}/latch_cli/services/init/__init__.py +0 -0
- {latch-2.46.2 → latch-2.46.2.dev1}/latch_cli/services/init/assemble_and_sort/.env +0 -0
- {latch-2.46.2 → latch-2.46.2.dev1}/latch_cli/services/init/assemble_and_sort/LICENSE +0 -0
- {latch-2.46.2 → latch-2.46.2.dev1}/latch_cli/services/init/assemble_and_sort/README.md +0 -0
- {latch-2.46.2 → latch-2.46.2.dev1}/latch_cli/services/init/assemble_and_sort/__init__.py +0 -0
- {latch-2.46.2 → latch-2.46.2.dev1}/latch_cli/services/init/assemble_and_sort/assemble.py +0 -0
- {latch-2.46.2 → latch-2.46.2.dev1}/latch_cli/services/init/assemble_and_sort/sort.py +0 -0
- {latch-2.46.2 → latch-2.46.2.dev1}/latch_cli/services/init/assemble_and_sort/system-requirements.txt +0 -0
- {latch-2.46.2 → latch-2.46.2.dev1}/latch_cli/services/init/common/.dockerignore +0 -0
- {latch-2.46.2 → latch-2.46.2.dev1}/latch_cli/services/init/example_conda/__init__.py +0 -0
- {latch-2.46.2 → latch-2.46.2.dev1}/latch_cli/services/init/example_conda/conda_task.py +0 -0
- {latch-2.46.2 → latch-2.46.2.dev1}/latch_cli/services/init/example_conda/environment.yaml +0 -0
- {latch-2.46.2 → latch-2.46.2.dev1}/latch_cli/services/init/example_docker/__init__.py +0 -0
- {latch-2.46.2 → latch-2.46.2.dev1}/latch_cli/services/init/example_docker/task.py +0 -0
- {latch-2.46.2 → latch-2.46.2.dev1}/latch_cli/services/init/example_nfcore/Dockerfile +0 -0
- {latch-2.46.2 → latch-2.46.2.dev1}/latch_cli/services/init/example_nfcore/__init__.py +0 -0
- {latch-2.46.2 → latch-2.46.2.dev1}/latch_cli/services/init/example_nfcore/task.py +0 -0
- {latch-2.46.2 → latch-2.46.2.dev1}/latch_cli/services/init/example_r/__init__.py +0 -0
- {latch-2.46.2 → latch-2.46.2.dev1}/latch_cli/services/init/example_r/environment.R +0 -0
- {latch-2.46.2 → latch-2.46.2.dev1}/latch_cli/services/init/example_r/r_task.py +0 -0
- {latch-2.46.2 → latch-2.46.2.dev1}/latch_cli/services/init/example_snakemake/.latch/latch_entrypoint +0 -0
- {latch-2.46.2 → latch-2.46.2.dev1}/latch_cli/services/init/example_snakemake/Dockerfile +0 -0
- {latch-2.46.2 → latch-2.46.2.dev1}/latch_cli/services/init/example_snakemake/Snakefile +0 -0
- {latch-2.46.2 → latch-2.46.2.dev1}/latch_cli/services/init/example_snakemake/config.yaml +0 -0
- {latch-2.46.2 → latch-2.46.2.dev1}/latch_cli/services/init/example_snakemake/environment.yaml +0 -0
- {latch-2.46.2 → latch-2.46.2.dev1}/latch_cli/services/init/example_snakemake/latch_metadata.py +0 -0
- {latch-2.46.2 → latch-2.46.2.dev1}/latch_cli/services/init/example_snakemake/scripts/plot-quals.py +0 -0
- {latch-2.46.2 → latch-2.46.2.dev1}/latch_cli/services/init/example_snakemake/version +0 -0
- {latch-2.46.2 → latch-2.46.2.dev1}/latch_cli/services/init/init.py +0 -0
- {latch-2.46.2 → latch-2.46.2.dev1}/latch_cli/services/init/template/LICENSE +0 -0
- {latch-2.46.2 → latch-2.46.2.dev1}/latch_cli/services/init/template/README.md +0 -0
- {latch-2.46.2 → latch-2.46.2.dev1}/latch_cli/services/init/template/__init__.py +0 -0
- {latch-2.46.2 → latch-2.46.2.dev1}/latch_cli/services/init/template/task.py +0 -0
- {latch-2.46.2 → latch-2.46.2.dev1}/latch_cli/services/launch.py +0 -0
- {latch-2.46.2 → latch-2.46.2.dev1}/latch_cli/services/local_dev.py +0 -0
- {latch-2.46.2 → latch-2.46.2.dev1}/latch_cli/services/local_dev_old.py +0 -0
- {latch-2.46.2 → latch-2.46.2.dev1}/latch_cli/services/login.py +0 -0
- {latch-2.46.2 → latch-2.46.2.dev1}/latch_cli/services/ls.py +0 -0
- {latch-2.46.2 → latch-2.46.2.dev1}/latch_cli/services/mkdir.py +0 -0
- {latch-2.46.2 → latch-2.46.2.dev1}/latch_cli/services/move.py +0 -0
- {latch-2.46.2 → latch-2.46.2.dev1}/latch_cli/services/preview.py +0 -0
- {latch-2.46.2 → latch-2.46.2.dev1}/latch_cli/services/register/__init__.py +0 -0
- {latch-2.46.2 → latch-2.46.2.dev1}/latch_cli/services/register/constants.py +0 -0
- {latch-2.46.2 → latch-2.46.2.dev1}/latch_cli/services/register/register.py +0 -0
- {latch-2.46.2 → latch-2.46.2.dev1}/latch_cli/services/register/utils.py +0 -0
- {latch-2.46.2 → latch-2.46.2.dev1}/latch_cli/services/rm.py +0 -0
- {latch-2.46.2 → latch-2.46.2.dev1}/latch_cli/services/stop_pod.py +0 -0
- {latch-2.46.2 → latch-2.46.2.dev1}/latch_cli/services/sync.py +0 -0
- {latch-2.46.2 → latch-2.46.2.dev1}/latch_cli/services/test_data/__init__.py +0 -0
- {latch-2.46.2 → latch-2.46.2.dev1}/latch_cli/services/test_data/ls.py +0 -0
- {latch-2.46.2 → latch-2.46.2.dev1}/latch_cli/services/test_data/remove.py +0 -0
- {latch-2.46.2 → latch-2.46.2.dev1}/latch_cli/services/test_data/upload.py +0 -0
- {latch-2.46.2 → latch-2.46.2.dev1}/latch_cli/services/test_data/utils.py +0 -0
- {latch-2.46.2 → latch-2.46.2.dev1}/latch_cli/services/workspace.py +0 -0
- {latch-2.46.2 → latch-2.46.2.dev1}/latch_cli/snakemake/__init__.py +0 -0
- {latch-2.46.2 → latch-2.46.2.dev1}/latch_cli/snakemake/config/__init__.py +0 -0
- {latch-2.46.2 → latch-2.46.2.dev1}/latch_cli/snakemake/config/parser.py +0 -0
- {latch-2.46.2 → latch-2.46.2.dev1}/latch_cli/snakemake/config/utils.py +0 -0
- {latch-2.46.2 → latch-2.46.2.dev1}/latch_cli/snakemake/serialize.py +0 -0
- {latch-2.46.2 → latch-2.46.2.dev1}/latch_cli/snakemake/serialize_utils.py +0 -0
- {latch-2.46.2 → latch-2.46.2.dev1}/latch_cli/snakemake/single_task_snakemake.py +0 -0
- {latch-2.46.2 → latch-2.46.2.dev1}/latch_cli/snakemake/utils.py +0 -0
- {latch-2.46.2 → latch-2.46.2.dev1}/latch_cli/snakemake/workflow.py +0 -0
- {latch-2.46.2 → latch-2.46.2.dev1}/latch_cli/tinyrequests.py +0 -0
- {latch-2.46.2 → latch-2.46.2.dev1}/latch_cli/tui/__init__.py +0 -0
- {latch-2.46.2 → latch-2.46.2.dev1}/latch_cli/utils/__init__.py +0 -0
- {latch-2.46.2 → latch-2.46.2.dev1}/latch_cli/utils/path.py +0 -0
- {latch-2.46.2 → latch-2.46.2.dev1}/latch_cli/workflow_config.py +0 -0
- {latch-2.46.2 → latch-2.46.2.dev1}/pyproject.toml +0 -0
- {latch-2.46.2 → latch-2.46.2.dev1}/setup.cfg +0 -0
- {latch-2.46.2 → latch-2.46.2.dev1}/tests/__init__.py +0 -0
- {latch-2.46.2 → latch-2.46.2.dev1}/tests/cp/__init__.py +0 -0
- {latch-2.46.2 → latch-2.46.2.dev1}/tests/fixtures.py +0 -0
- {latch-2.46.2 → latch-2.46.2.dev1}/tests/test_ls.py +0 -0
|
@@ -480,44 +480,23 @@ def custom_task(
|
|
|
480
480
|
|
|
481
481
|
|
|
482
482
|
def nextflow_runtime_task(cpu: int, memory: int, storage_gib: int = 50):
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
annotations={
|
|
502
|
-
"io.kubernetes.cri-o.userns-mode": (
|
|
503
|
-
"private:uidmapping=0:1048576:65536;gidmapping=0:1048576:65536"
|
|
504
|
-
)
|
|
505
|
-
},
|
|
506
|
-
pod_spec=V1PodSpec(
|
|
507
|
-
runtime_class_name="sysbox-runc",
|
|
508
|
-
automount_service_account_token=True,
|
|
509
|
-
containers=[primary_container],
|
|
510
|
-
volumes=[
|
|
511
|
-
V1Volume(
|
|
512
|
-
name="nextflow-workdir",
|
|
513
|
-
persistent_volume_claim=V1PersistentVolumeClaimVolumeSource(
|
|
514
|
-
# this value will be injected by flytepropeller
|
|
515
|
-
claim_name="nextflow-pvc-placeholder"
|
|
516
|
-
),
|
|
517
|
-
)
|
|
518
|
-
],
|
|
519
|
-
),
|
|
520
|
-
primary_container_name="primary",
|
|
521
|
-
)
|
|
483
|
+
task_config = _custom_task_config(cpu, memory, storage_gib)
|
|
484
|
+
|
|
485
|
+
task_config.pod_spec.automount_service_account_token = True
|
|
486
|
+
|
|
487
|
+
assert len(task_config.pod_spec.containers) == 1
|
|
488
|
+
task_config.pod_spec.containers[0].volume_mounts = [
|
|
489
|
+
V1VolumeMount(mount_path="/nf-workdir", name="nextflow-workdir")
|
|
490
|
+
]
|
|
491
|
+
|
|
492
|
+
task_config.pod_spec.volumes = [
|
|
493
|
+
V1Volume(
|
|
494
|
+
name="nextflow-workdir",
|
|
495
|
+
persistent_volume_claim=V1PersistentVolumeClaimVolumeSource(
|
|
496
|
+
# this value will be injected by flytepropeller
|
|
497
|
+
claim_name="nextflow-pvc-placeholder"
|
|
498
|
+
),
|
|
499
|
+
)
|
|
500
|
+
]
|
|
522
501
|
|
|
523
502
|
return functools.partial(task, task_config=task_config)
|
|
@@ -112,13 +112,7 @@ latch_cli/services/execute/utils.py
|
|
|
112
112
|
latch_cli/services/init/__init__.py
|
|
113
113
|
latch_cli/services/init/init.py
|
|
114
114
|
latch_cli/services/init/__pycache__/__init__.cpython-310.pyc
|
|
115
|
-
latch_cli/services/init/__pycache__/__init__.cpython-311.pyc
|
|
116
|
-
latch_cli/services/init/__pycache__/__init__.cpython-38.pyc
|
|
117
|
-
latch_cli/services/init/__pycache__/__init__.cpython-39.pyc
|
|
118
115
|
latch_cli/services/init/__pycache__/init.cpython-310.pyc
|
|
119
|
-
latch_cli/services/init/__pycache__/init.cpython-311.pyc
|
|
120
|
-
latch_cli/services/init/__pycache__/init.cpython-38.pyc
|
|
121
|
-
latch_cli/services/init/__pycache__/init.cpython-39.pyc
|
|
122
116
|
latch_cli/services/init/assemble_and_sort/.env
|
|
123
117
|
latch_cli/services/init/assemble_and_sort/LICENSE
|
|
124
118
|
latch_cli/services/init/assemble_and_sort/README.md
|
|
@@ -126,22 +120,18 @@ latch_cli/services/init/assemble_and_sort/__init__.py
|
|
|
126
120
|
latch_cli/services/init/assemble_and_sort/assemble.py
|
|
127
121
|
latch_cli/services/init/assemble_and_sort/sort.py
|
|
128
122
|
latch_cli/services/init/assemble_and_sort/system-requirements.txt
|
|
129
|
-
latch_cli/services/init/assemble_and_sort/__pycache__/__init__.cpython-310.pyc
|
|
130
123
|
latch_cli/services/init/common/.dockerignore
|
|
131
124
|
latch_cli/services/init/example_conda/__init__.py
|
|
132
125
|
latch_cli/services/init/example_conda/conda_task.py
|
|
133
126
|
latch_cli/services/init/example_conda/environment.yaml
|
|
134
|
-
latch_cli/services/init/example_conda/__pycache__/__init__.cpython-310.pyc
|
|
135
127
|
latch_cli/services/init/example_docker/__init__.py
|
|
136
128
|
latch_cli/services/init/example_docker/task.py
|
|
137
|
-
latch_cli/services/init/example_nf_integration/latch_metadata/__pycache__/__init__.cpython-311.pyc
|
|
138
129
|
latch_cli/services/init/example_nfcore/Dockerfile
|
|
139
130
|
latch_cli/services/init/example_nfcore/__init__.py
|
|
140
131
|
latch_cli/services/init/example_nfcore/task.py
|
|
141
132
|
latch_cli/services/init/example_r/__init__.py
|
|
142
133
|
latch_cli/services/init/example_r/environment.R
|
|
143
134
|
latch_cli/services/init/example_r/r_task.py
|
|
144
|
-
latch_cli/services/init/example_r/__pycache__/__init__.cpython-310.pyc
|
|
145
135
|
latch_cli/services/init/example_snakemake/Dockerfile
|
|
146
136
|
latch_cli/services/init/example_snakemake/Snakefile
|
|
147
137
|
latch_cli/services/init/example_snakemake/config.yaml
|
|
@@ -154,7 +144,6 @@ latch_cli/services/init/template/LICENSE
|
|
|
154
144
|
latch_cli/services/init/template/README.md
|
|
155
145
|
latch_cli/services/init/template/__init__.py
|
|
156
146
|
latch_cli/services/init/template/task.py
|
|
157
|
-
latch_cli/services/init/template/__pycache__/__init__.cpython-310.pyc
|
|
158
147
|
latch_cli/services/register/__init__.py
|
|
159
148
|
latch_cli/services/register/constants.py
|
|
160
149
|
latch_cli/services/register/register.py
|
|
@@ -117,6 +117,7 @@ def nextflow_runtime(pvc_name: str, {param_signature}) -> None:
|
|
|
117
117
|
env = {{
|
|
118
118
|
**os.environ,
|
|
119
119
|
"NXF_HOME": "/root/.nextflow",
|
|
120
|
+
"NXF_OPTS": "-Xms{heap_memory}M -Xmx{memory}G -XX:ActiveProcessorCount={cpu}",
|
|
120
121
|
"K8S_STORAGE_CLAIM_NAME": pvc_name,
|
|
121
122
|
"NXF_DISABLE_CHECK_LATEST": "true",
|
|
122
123
|
}}
|
|
@@ -126,18 +127,18 @@ def nextflow_runtime(pvc_name: str, {param_signature}) -> None:
|
|
|
126
127
|
check=True,
|
|
127
128
|
cwd=str(shared_dir),
|
|
128
129
|
)
|
|
129
|
-
|
|
130
|
+
finally:
|
|
130
131
|
print()
|
|
131
132
|
|
|
132
|
-
|
|
133
|
-
if
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
133
|
+
nextflow_log = shared_dir / ".nextflow.log"
|
|
134
|
+
if nextflow_log.exists():
|
|
135
|
+
name = _get_execution_name()
|
|
136
|
+
if name is None:
|
|
137
|
+
print("Skipping logs upload, failed to get execution name")
|
|
138
|
+
else:
|
|
139
|
+
remote = LPath(urljoins("{log_dir}", name, "nextflow.log"))
|
|
140
|
+
print(f"Uploading .nextflow.log to {{remote.path}}")
|
|
141
|
+
remote.upload_from(nextflow_log)
|
|
141
142
|
|
|
142
143
|
|
|
143
144
|
|
|
@@ -310,6 +311,7 @@ def generate_nextflow_workflow(
|
|
|
310
311
|
samplesheet_constructors="\n".join(samplesheet_constructors),
|
|
311
312
|
cpu=resources.cpus,
|
|
312
313
|
memory=resources.memory,
|
|
314
|
+
heap_memory=max(1, int(resources.memory * 1024 * 0.25)),
|
|
313
315
|
storage_gib=resources.storage_gib,
|
|
314
316
|
log_dir=log_dir,
|
|
315
317
|
)
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{latch-2.46.2 → latch-2.46.2.dev1}/latch_cli/services/init/assemble_and_sort/system-requirements.txt
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
|
{latch-2.46.2 → latch-2.46.2.dev1}/latch_cli/services/init/example_snakemake/.latch/latch_entrypoint
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{latch-2.46.2 → latch-2.46.2.dev1}/latch_cli/services/init/example_snakemake/environment.yaml
RENAMED
|
File without changes
|
{latch-2.46.2 → latch-2.46.2.dev1}/latch_cli/services/init/example_snakemake/latch_metadata.py
RENAMED
|
File without changes
|
{latch-2.46.2 → latch-2.46.2.dev1}/latch_cli/services/init/example_snakemake/scripts/plot-quals.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
|