Skip to content

Commit fb835e2

Browse files
committed
merging and resolving conflicts
1 parent cb16120 commit fb835e2

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

pyclowder/files.py

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -68,21 +68,6 @@ def download_info(connector, host, key, fileid):
6868
result = files.download_info(connector, client, fileid)
6969
return result.json()
7070

71-
def download_summary(connector, host, key, fileid):
72-
"""Download file summary from Clowder.
73-
74-
Keyword arguments:
75-
connector -- connector information, used to get missing parameters and send status updates
76-
host -- the clowder host, including http and port, should end with a /
77-
key -- the secret key to login to clowder
78-
fileid -- the file to fetch metadata of
79-
"""
80-
client = ClowderClient(host=host, key=key)
81-
if clowder_version == 2:
82-
result = v2files.download_summary(connector, client, fileid)
83-
else:
84-
result = v1files.download_info(connector, client, fileid)
85-
return result.json()
8671

8772
def download_metadata(connector, host, key, fileid, extractor=None):
8873
"""Download file JSON-LD metadata from Clowder.

0 commit comments

Comments
 (0)