latch 2.40.4.dev6__tar.gz → 2.40.4.dev7__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.40.4.dev6/latch.egg-info → latch-2.40.4.dev7}/PKG-INFO +1 -1
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch/types/metadata.py +1 -2
- {latch-2.40.4.dev6 → latch-2.40.4.dev7/latch.egg-info}/PKG-INFO +1 -1
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch_cli/extras/nextflow/file_persistence.py +11 -9
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/setup.py +1 -1
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/LICENSE +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/MANIFEST.in +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/README.md +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch/__init__.py +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch/account.py +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch/executions.py +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch/functions/__init__.py +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch/functions/messages.py +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch/functions/operators.py +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch/functions/secrets.py +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch/ldata/__init__.py +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch/ldata/_transfer/__init__.py +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch/ldata/_transfer/download.py +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch/ldata/_transfer/manager.py +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch/ldata/_transfer/node.py +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch/ldata/_transfer/progress.py +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch/ldata/_transfer/remote_copy.py +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch/ldata/_transfer/throttle.py +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch/ldata/_transfer/upload.py +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch/ldata/_transfer/utils.py +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch/ldata/path.py +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch/ldata/type.py +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch/registry/__init__.py +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch/registry/project.py +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch/registry/record.py +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch/registry/table.py +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch/registry/types.py +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch/registry/upstream_types/__init__.py +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch/registry/upstream_types/types.py +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch/registry/upstream_types/values.py +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch/registry/utils.py +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch/resources/__init__.py +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch/resources/conditional.py +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch/resources/dynamic.py +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch/resources/launch_plan.py +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch/resources/map_tasks.py +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch/resources/reference_workflow.py +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch/resources/tasks.py +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch/resources/workflow.py +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch/types/__init__.py +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch/types/directory.py +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch/types/file.py +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch/types/glob.py +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch/types/json.py +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch/types/utils.py +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch/utils.py +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch/verified/__init__.py +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch/verified/deseq2.py +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch/verified/mafft.py +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch/verified/pathway.py +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch/verified/rnaseq.py +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch/verified/trim_galore.py +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch.egg-info/SOURCES.txt +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch.egg-info/dependency_links.txt +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch.egg-info/entry_points.txt +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch.egg-info/requires.txt +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch.egg-info/top_level.txt +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch_cli/__init__.py +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch_cli/auth/__init__.py +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch_cli/auth/csrf.py +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch_cli/auth/oauth2.py +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch_cli/auth/pkce.py +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch_cli/auth/utils.py +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch_cli/centromere/__init__.py +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch_cli/centromere/ctx.py +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch_cli/centromere/utils.py +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch_cli/click_utils.py +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch_cli/constants.py +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch_cli/docker_utils/__init__.py +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch_cli/exceptions/__init__.py +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch_cli/exceptions/cache.py +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch_cli/exceptions/errors.py +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch_cli/exceptions/handler.py +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch_cli/exceptions/traceback.py +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch_cli/extras/__init__.py +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch_cli/extras/common/__init__.py +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch_cli/extras/common/config/__init__.py +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch_cli/extras/common/config/parser.py +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch_cli/extras/common/config/utils.py +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch_cli/extras/common/serialize.py +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch_cli/extras/common/utils.py +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch_cli/extras/nextflow/__init__.py +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch_cli/extras/nextflow/build.py +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch_cli/extras/nextflow/channel.py +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch_cli/extras/nextflow/config.py +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch_cli/extras/nextflow/dag.py +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch_cli/extras/nextflow/serialize.py +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch_cli/extras/nextflow/tasks/__init__.py +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch_cli/extras/nextflow/tasks/adapters.py +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch_cli/extras/nextflow/tasks/base.py +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch_cli/extras/nextflow/tasks/conditional.py +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch_cli/extras/nextflow/tasks/map.py +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch_cli/extras/nextflow/tasks/merge.py +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch_cli/extras/nextflow/tasks/operator.py +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch_cli/extras/nextflow/tasks/process.py +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch_cli/extras/nextflow/workflow.py +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch_cli/extras/snakemake/__init__.py +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch_cli/extras/snakemake/config.py +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch_cli/extras/snakemake/serialize.py +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch_cli/extras/snakemake/single_task_snakemake.py +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch_cli/extras/snakemake/utils.py +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch_cli/extras/snakemake/workflow.py +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch_cli/main.py +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch_cli/menus.py +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch_cli/services/__init__.py +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch_cli/services/cp/__init__.py +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch_cli/services/cp/autocomplete.py +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch_cli/services/cp/glob.py +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch_cli/services/cp/main.py +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch_cli/services/cp/utils.py +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch_cli/services/execute/__init__.py +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch_cli/services/execute/main.py +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch_cli/services/execute/utils.py +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch_cli/services/get.py +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch_cli/services/get_executions.py +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch_cli/services/get_params.py +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch_cli/services/init/__init__.py +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch_cli/services/init/__pycache__/__init__.cpython-310.pyc +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch_cli/services/init/__pycache__/init.cpython-310.pyc +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch_cli/services/init/assemble_and_sort/.env +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch_cli/services/init/assemble_and_sort/LICENSE +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch_cli/services/init/assemble_and_sort/README.md +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch_cli/services/init/assemble_and_sort/__init__.py +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch_cli/services/init/assemble_and_sort/assemble.py +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch_cli/services/init/assemble_and_sort/sort.py +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch_cli/services/init/assemble_and_sort/system-requirements.txt +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch_cli/services/init/common/.dockerignore +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch_cli/services/init/example_conda/__init__.py +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch_cli/services/init/example_conda/conda_task.py +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch_cli/services/init/example_conda/environment.yaml +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch_cli/services/init/example_docker/__init__.py +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch_cli/services/init/example_docker/task.py +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch_cli/services/init/example_nextflow/main.nf +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch_cli/services/init/example_nextflow/nextflow.config +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch_cli/services/init/example_nextflow/workflow.nf +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch_cli/services/init/example_nfcore/Dockerfile +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch_cli/services/init/example_nfcore/__init__.py +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch_cli/services/init/example_nfcore/task.py +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch_cli/services/init/example_r/__init__.py +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch_cli/services/init/example_r/environment.R +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch_cli/services/init/example_r/r_task.py +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch_cli/services/init/example_snakemake/.latch/latch_entrypoint +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch_cli/services/init/example_snakemake/Dockerfile +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch_cli/services/init/example_snakemake/Snakefile +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch_cli/services/init/example_snakemake/config.yaml +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch_cli/services/init/example_snakemake/environment.yaml +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch_cli/services/init/example_snakemake/latch_metadata.py +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch_cli/services/init/example_snakemake/scripts/plot-quals.py +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch_cli/services/init/example_snakemake/version +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch_cli/services/init/init.py +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch_cli/services/init/template/LICENSE +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch_cli/services/init/template/README.md +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch_cli/services/init/template/__init__.py +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch_cli/services/init/template/task.py +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch_cli/services/launch.py +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch_cli/services/local_dev.py +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch_cli/services/local_dev_old.py +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch_cli/services/login.py +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch_cli/services/ls.py +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch_cli/services/mkdir.py +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch_cli/services/move.py +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch_cli/services/preview.py +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch_cli/services/register/__init__.py +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch_cli/services/register/constants.py +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch_cli/services/register/register.py +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch_cli/services/register/utils.py +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch_cli/services/rm.py +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch_cli/services/stop_pod.py +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch_cli/services/sync.py +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch_cli/services/test_data/__init__.py +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch_cli/services/test_data/ls.py +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch_cli/services/test_data/remove.py +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch_cli/services/test_data/upload.py +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch_cli/services/test_data/utils.py +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch_cli/services/workspace.py +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch_cli/tinyrequests.py +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch_cli/tui/__init__.py +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch_cli/utils/__init__.py +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch_cli/utils/path.py +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch_cli/utils/workflow.py +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch_cli/workflow_config.py +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/pyproject.toml +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/setup.cfg +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/tests/__init__.py +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/tests/cp/__init__.py +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/tests/fixtures.py +0 -0
- {latch-2.40.4.dev6 → latch-2.40.4.dev7}/tests/test_ls.py +0 -0
|
@@ -4,7 +4,6 @@ from enum import Enum
|
|
|
4
4
|
from pathlib import Path
|
|
5
5
|
from textwrap import indent
|
|
6
6
|
from typing import (
|
|
7
|
-
Annotated,
|
|
8
7
|
Any,
|
|
9
8
|
Callable,
|
|
10
9
|
ClassVar,
|
|
@@ -22,7 +21,7 @@ from typing import (
|
|
|
22
21
|
|
|
23
22
|
import click
|
|
24
23
|
import yaml
|
|
25
|
-
from typing_extensions import TypeAlias
|
|
24
|
+
from typing_extensions import Annotated, TypeAlias
|
|
26
25
|
|
|
27
26
|
from latch_cli.utils import identifier_suffix_from_str
|
|
28
27
|
|
|
@@ -2,7 +2,7 @@ import json
|
|
|
2
2
|
import os
|
|
3
3
|
from dataclasses import dataclass
|
|
4
4
|
from pathlib import Path
|
|
5
|
-
from typing import Dict, List, Optional, Set, Union
|
|
5
|
+
from typing import Dict, List, Optional, Set, Union
|
|
6
6
|
from urllib.parse import urlparse
|
|
7
7
|
|
|
8
8
|
import click
|
|
@@ -54,7 +54,9 @@ class PathData:
|
|
|
54
54
|
remote: Optional[str] = None
|
|
55
55
|
|
|
56
56
|
|
|
57
|
-
def _extract_paths(
|
|
57
|
+
def _extract_paths(
|
|
58
|
+
parameter: JSONValue, res: List[PathData], is_download: bool = False
|
|
59
|
+
):
|
|
58
60
|
if not isinstance(parameter, Dict):
|
|
59
61
|
raise ValueError(f"malformed parameter: {parameter}")
|
|
60
62
|
|
|
@@ -77,7 +79,7 @@ def _extract_paths(parameter: JSONValue, res: List[PathData]):
|
|
|
77
79
|
return
|
|
78
80
|
|
|
79
81
|
res.append(PathData(parameter=parameter, local=local, remote=remote))
|
|
80
|
-
elif "string" in parameter:
|
|
82
|
+
elif "string" in parameter and is_download:
|
|
81
83
|
v = parameter["string"]
|
|
82
84
|
assert isinstance(v, str)
|
|
83
85
|
|
|
@@ -87,13 +89,13 @@ def _extract_paths(parameter: JSONValue, res: List[PathData]):
|
|
|
87
89
|
parameter["path"] = v
|
|
88
90
|
del parameter["string"]
|
|
89
91
|
|
|
90
|
-
_extract_paths(parameter, res)
|
|
92
|
+
_extract_paths(parameter, res, is_download)
|
|
91
93
|
elif "list" in parameter:
|
|
92
94
|
v = parameter["list"]
|
|
93
95
|
assert isinstance(v, List)
|
|
94
96
|
|
|
95
97
|
for x in v:
|
|
96
|
-
_extract_paths(x, res)
|
|
98
|
+
_extract_paths(x, res, is_download)
|
|
97
99
|
elif "map" in parameter:
|
|
98
100
|
v = parameter["map"]
|
|
99
101
|
assert isinstance(v, List)
|
|
@@ -103,8 +105,8 @@ def _extract_paths(parameter: JSONValue, res: List[PathData]):
|
|
|
103
105
|
if "key" not in x or "value" not in x:
|
|
104
106
|
raise ValueError(f"malformed map entry: {x}")
|
|
105
107
|
|
|
106
|
-
_extract_paths(x["key"], res)
|
|
107
|
-
_extract_paths(x["value"], res)
|
|
108
|
+
_extract_paths(x["key"], res, is_download)
|
|
109
|
+
_extract_paths(x["value"], res, is_download)
|
|
108
110
|
|
|
109
111
|
|
|
110
112
|
def _get_execution_name() -> Optional[str]:
|
|
@@ -135,10 +137,10 @@ def download_files(
|
|
|
135
137
|
path_data: List[PathData] = []
|
|
136
138
|
for channel in channels:
|
|
137
139
|
if type(channel) == dict and "value" in channel:
|
|
138
|
-
_extract_paths(channel["value"], path_data)
|
|
140
|
+
_extract_paths(channel["value"], path_data, is_download=True)
|
|
139
141
|
elif type(channel) == list:
|
|
140
142
|
for param in channel:
|
|
141
|
-
_extract_paths(param, path_data)
|
|
143
|
+
_extract_paths(param, path_data, is_download=True)
|
|
142
144
|
|
|
143
145
|
remote = _get_remote(outdir)
|
|
144
146
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
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.40.4.dev6 → latch-2.40.4.dev7}/latch_cli/services/init/__pycache__/__init__.cpython-310.pyc
RENAMED
|
File without changes
|
{latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch_cli/services/init/__pycache__/init.cpython-310.pyc
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch_cli/services/init/assemble_and_sort/__init__.py
RENAMED
|
File without changes
|
{latch-2.40.4.dev6 → latch-2.40.4.dev7}/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.40.4.dev6 → latch-2.40.4.dev7}/latch_cli/services/init/example_conda/environment.yaml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch_cli/services/init/example_nextflow/nextflow.config
RENAMED
|
File without changes
|
{latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch_cli/services/init/example_nextflow/workflow.nf
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
|
{latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch_cli/services/init/example_snakemake/Dockerfile
RENAMED
|
File without changes
|
|
File without changes
|
{latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch_cli/services/init/example_snakemake/config.yaml
RENAMED
|
File without changes
|
{latch-2.40.4.dev6 → latch-2.40.4.dev7}/latch_cli/services/init/example_snakemake/environment.yaml
RENAMED
|
File without changes
|
{latch-2.40.4.dev6 → latch-2.40.4.dev7}/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
|