add default parameter value for ripple submit

This commit is contained in:
Fabien Servant @ TCS 2022-12-23 18:20:28 +01:00 committed by GitHub
parent d04952c276
commit e355a34d67
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -87,7 +87,7 @@ class RippleSubmitter(BaseSubmitter):
return rippleObj
def submit(self, nodes, edges, filepath, submitLabel):
def submit(self, nodes, edges, filepath, submitLabel="{projectName}"):
projectName = os.path.splitext(os.path.basename(filepath))[0]
label = submitLabel.format(projectName=projectName)