Skip to content

Commit

Permalink
automatically upload ndjson to info sibling folder
Browse files Browse the repository at this point in the history
  • Loading branch information
BryonLewis committed Apr 19, 2024
1 parent 643fb7c commit 15ef153
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scripts/generateMetadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,9 @@ def run_script(ndfile):
count += 1
print(f'Completed item: {count} of {total}')
get_or_create_folder(gc, replaced, folderData['name'], existing)
# now we place the ndjson file in a info folder
info_folder = gc.createFolder(rootFolderId, name="info")
gc.uploadFileToFolder(info_folder["_id"], ndfile)



Expand Down

0 comments on commit 15ef153

Please sign in to comment.