Skip to content
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

Question: Adding specific annotation (metadata tags) to mass imports of swcs to Catmaid #249

Open
Mohinta2892 opened this issue Jan 16, 2025 · 1 comment

Comments

@Mohinta2892
Copy link

Hi!

To upload selected skels into a CATMAID instance, I am currently running the below:

resp = pymaid.upload_neuron(n, source_type=None, remote_instance=rm)

Once imported, it saves Import as the annotated as metadata tag.
I wish to modify this tag per the class name of my selected skels, for example, segmented-KCs.

Do I need to modify the TreeNeuron object to have this as a value to any attribute?

Best,
Samia

@clbarnes
Copy link
Collaborator

clbarnes commented Jan 16, 2025

Yes, to annotate an uploaded CatmaidNeuron you can modify its annotations list, and then set import_annotations=True in upload_neuron.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants