@@ -38,7 +38,7 @@ def get_download_url(connector, host, key, fileid, intermediatefileid=None, ext=
38
38
39
39
40
40
# pylint: disable=too-many-arguments
41
- def download (connector , host , key , fileid , intermediatefileid = None , ext = "" , tracking = True , mounted_filesystem = False , mounted_dir = "None" ):
41
+ def download (connector , host , key , fileid , intermediatefileid = None , ext = "" , tracking = True ):
42
42
"""Download file to be processed from Clowder.
43
43
44
44
Keyword arguments:
@@ -49,14 +49,7 @@ def download(connector, host, key, fileid, intermediatefileid=None, ext="", trac
49
49
intermediatefileid -- either same as fileid, or the intermediate file to be used
50
50
ext -- the file extension, the downloaded file will end with this extension
51
51
tracking -- should the download action be tracked
52
- mounted_filesystem -- if the minio storage is mounted to the local filesystem
53
52
"""
54
-
55
- if mounted_filesystem :
56
- if mounted_dir == "None" :
57
- mounted_dir = "/clowderfs"
58
- inputfilename = "/clowderfs/" + fileid
59
- return inputfilename
60
53
client = ClowderClient (host = host , key = key )
61
54
inputfilename = files .download (connector , client , fileid , intermediatefileid , ext )
62
55
return inputfilename
0 commit comments