diff --git a/maap/maap.py b/maap/maap.py index 2ac93ce..294321d 100644 --- a/maap/maap.py +++ b/maap/maap.py @@ -604,7 +604,7 @@ def get_queues(self): See Also -------- :meth:`submit_job` : Submit a job to a queue - :meth:`register_algorithm` : Register an algorithm to run on queues + :meth:`algorithm_register` : Deploy an algorithm to run on queues """ url = os.path.join(self.config.algorithm_register, 'resource') headers = self._get_api_header() @@ -617,9 +617,9 @@ def get_queues(self): ) return response - def register_algorithm_from_cwl_file(self, file_path): + def deploy_algorithm_from_cwl_file(self, file_path): """ - Registers an algorithm from a CWL file + Deploys an algorithm from a CWL file """ # Read raw text from CWL file with open(file_path, 'r') as f: @@ -638,7 +638,7 @@ def register_algorithm_from_cwl_file(self, file_path): def replace_algorithm_from_cwl_file(self, process_id, file_path): """ - Registers an algorithm from a CWL file + Deploys an algorithm from a CWL file """ # Read raw text from CWL file with open(file_path, 'r') as f: @@ -832,7 +832,7 @@ def list_algorithms(self): ) return response - def register_algorithm(self, execution_unit_href): + def deploy_algorithm(self, execution_unit_href): """ Deploy a new OGC process :param execution_unit_href: URL to the CWL file