allow dict_pics to write dict_pics.txt
This commit is contained in:
parent
a4f93af3ee
commit
3ee619ae3c
@ -450,8 +450,8 @@ class CurateData:
|
||||
file_name = target_dir + os.sep + tag
|
||||
dict_pics.update({k:file_name})
|
||||
|
||||
# with open('dict_pics.txt', 'w') as f:
|
||||
# json.dump(dict_pics, f)
|
||||
with open('dict_pics.txt', 'w') as f:
|
||||
json.dump(dict_pics, f)
|
||||
|
||||
return dict_pics # TODO still need to find sol to outliers (i.e., naming scheme for unusual source URLs)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user