Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions maap/maap.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand All @@ -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:
Expand All @@ -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:
Expand Down Expand Up @@ -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
Expand Down