Skip to content

Commit

Permalink
ipynb, doc deletion more verbose
Browse files Browse the repository at this point in the history
  • Loading branch information
pdaengeli authored Nov 7, 2024
1 parent a6a51af commit 8c94309
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion iiif-to-transkribus/transkribus-doc-deletion.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@
"\n",
"collectionId = re.search(r\"\\((\\w+)\\)\", issue_desc['target-collection']).group(0) [1:-1]\n",
"\n",
"#print(to_process)\n",
"#print(collectionId)"
]
},
Expand Down Expand Up @@ -124,6 +123,7 @@
" docIds_iiif_to_delete.append(doc['docId'])\n",
"\n",
"docIds_all_to_delete = docIds_iiif_to_delete + to_delete_transkribus\n",
"print(docIds_all_to_delete)\n",
"\n",
"for docId in docIds_all_to_delete:\n",
" response = s.delete(f'https://transkribus.eu/TrpServer/rest/collections/{collectionId}/{docId}')\n",
Expand Down

0 comments on commit 8c94309

Please sign in to comment.