mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-10-24 12:13:33 +08:00
Change method name to get_staging_path instead of staging_path
It's not a property anymore. Thanks Nuwan. Co-authored-by: Nuwan Goonasekera <2070605+nuwang@users.noreply.github.com>
This commit is contained in:
co-authored by
Nuwan Goonasekera
parent
94881812a0
commit
a8950564f4
@@ -45,7 +45,7 @@ def data_collection_input_to_staging_path_and_source_path(v, invalid_chars=('/',
|
||||
|
||||
|
||||
def data_input_to_staging_path_and_source_path(v, invalid_chars=('/',)):
|
||||
staging_path = v.staging_path(invalid_chars=invalid_chars)
|
||||
staging_path = v.get_staging_path(invalid_chars=invalid_chars)
|
||||
return {
|
||||
'staging_path': staging_path,
|
||||
'source_path': data_input_to_path(v),
|
||||
|
||||
@@ -315,7 +315,7 @@ class DatasetFilenameWrapper(ToolParameterValueWrapper):
|
||||
def name_and_ext(self):
|
||||
return f"{self.element_identifier}.{self.file_ext}"
|
||||
|
||||
def staging_path(self, invalid_chars=('/',)):
|
||||
def get_staging_path(self, invalid_chars=('/',)):
|
||||
"""
|
||||
Strip leading dots, unicode null chars, replace `/` with `_`, truncate at 255 characters.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user