-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create project with new name #1
Comments
The project name is in the JSON file that lies within the ZIP file and which contains the project configuration/metadata. There is currently no way to change the name via the remote API or during import. |
Ok, so here an example of how a project should look in the ZIP:
This is directly after the export. Now when I extract the ZIP in my file manager (macOS Finder), it creates a folder Now I compress the extracted folder again in the file manager by right-clicking and choosing "compress" - it creates a new file
So see the difference - the folder into which the file manager extracted is suddenly part of the ZIP which makes it invalid:
To package correctly, you can
|
Thanks @reckart! This works! And I think that it also answers some other questions about how to assign users to projects, it's all in this json file! |
We have been playing around a bit with creating a bit of a python utility code to access exported projects: https://gist.github.com/reckart/925950f2b489e9e75c54bc44a37548e8 Would you find such a thing useful? Would you care to contribute should we turn it into a proper GitHub repo/pypi package? |
We would find this very useful, and yes we would definitely want to contribute. |
@ofersabo Getting back wrt these utility functions - still interested in contributing those? |
Hi,
We use the API suggested by Pycaprio.
Assuming that we have a large number of documents to annotate, and we want to split them among our annotators.
To enable splitting the documents between them, we create multiple projects where each annotator is assigned to one of these projects.
These projects are identical in the configuration just with different documents.
To create such identical projects, we generated a single template project and we want to duplicate it using the API.
The way we duplicate it is by downloading the project and uploading a new identical project with a different set of documents. However we can't find a way to change the name of the project?
Can this be done using the API? if not, is there any workaround? we tried to change the zip file name but this didn't help. we also tried to change the name in the log file.
Thanks
The text was updated successfully, but these errors were encountered: