diff --git a/cirro/sdk/process.py b/cirro/sdk/process.py index 8f4cff9..83bcf8a 100644 --- a/cirro/sdk/process.py +++ b/cirro/sdk/process.py @@ -106,7 +106,8 @@ def run_analysis( params=None, notifications_emails: List[str] = None, compute_environment: str = None, - resume_dataset_id: str = None + resume_dataset_id: str = None, + source_sample_ids: List[str] = None ) -> str: """ Runs this process on one or more input datasets, returns the ID of the newly created dataset. @@ -125,6 +126,7 @@ def run_analysis( It will attempt to re-use the previous output to minimize duplicate work. Note that Nextflow does not require this parameter, as it will automatically resume from any previous attempts using a global cache. + source_sample_ids (List[str]): List of sample IDs to use as input for the analysis. Returns: dataset_id (str): ID of newly created dataset @@ -169,6 +171,7 @@ def run_analysis( params=RunAnalysisRequestParams.from_dict(params), notification_emails=notifications_emails, resume_dataset_id=resume_dataset_id, + source_sample_ids=source_sample_ids, compute_environment_id=compute_environment.id if compute_environment else None ) ) diff --git a/pyproject.toml b/pyproject.toml index 50ea289..37ac663 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "cirro" -version = "1.10.3" +version = "1.10.4" description = "CLI tool and SDK for interacting with the Cirro platform" authors = ["Cirro Bio "] license = "MIT" diff --git a/samples/Interacting_with_files.ipynb b/samples/Interacting_with_files.ipynb index 91b35b4..199c7a4 100644 --- a/samples/Interacting_with_files.ipynb +++ b/samples/Interacting_with_files.ipynb @@ -27,7 +27,7 @@ "source": [ "from cirro import DataPortal\n", "\n", - "portal = DataPortal(base_url=\"\")" + "portal = DataPortal()" ] }, {