Skip to content

Commit f7ffb00

Browse files
committed
update postCollection.py
1 parent 999c6d5 commit f7ffb00

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

postCollection.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@
8282
f2=open('fileListDict.txt', 'wb')
8383
f2.write(json.dumps(fileList))
8484

85+
## Use this section of code if 'fileListDict.txt' has already been generated and comment out lines 64-83. This is useful if uploading a very large collection as generating the file list will take some time.
8586
# f3=open('fileListDict.txt', 'rb')
8687
# fileList = json.load(f3)
8788

@@ -117,7 +118,7 @@
117118
print json.dumps(post)
118119
itemID = post['link']
119120

120-
# #Post bitstream - front and back
121+
# #Post bitstream - front and back. Deprecated method, preserved for reference
121122
# for k,v in fileList.items():
122123
# if k == fileIdentifier + '-Front':
123124
# bitstream = fileList[k]

0 commit comments

Comments
 (0)