sollan / alma

Fully automated (rodent) limb motion analysis toolbox for behavioral analysis with bodypart coordinate data, building upon markerless pose estimation.
GNU General Public License v3.0
13 stars 5 forks source link

Metadata-generation-failed #36

Closed NuriaAt closed 9 months ago

NuriaAt commented 9 months ago

Hi,

Thank you for building this great toolbox! Unfortunately, I tried to install the requirements but I encounter with an error message: 'metadata-generation-failed'. I think it might be related to the numpy requirement. Could you help me with this?

Thanks!

sollan commented 9 months ago

Hi! Can you please provide more info about the error? Most importantly, your python version, which tool you are using to install the requirements (Anaconda? pip?), as well as a full trace of the error during installation.

A quick google search brought me to this page: https://wppluginsify.com/blog/fixing-error-metadata-generation-failed-in-python/. Please feel free to take a look and let me know you managed to fix the issue!

sollan commented 9 months ago

@NuriaAt

Hello again,

I tested the dependencies with Python 3.10, as Python 3.8 (which has been the recommendation so far) will reach end of life next year. You can find the requirements for a Conda env here and try installing in a Python 3.10 environment.

Hope that helps!

Annette

NuriaAt commented 9 months ago

Hi Anette,

Thanks so much. It works now in a Python 3.10 environment 😊 I have another question; would it be possible to change the tracking points somewhere in the config file? I usually perform my tracking labelling also the body and the tail.

Have a nice day,

Best, Nuria

From: Annette Z @.> Sent: 21. november 2023 13:52 To: sollan/alma @.> Cc: rfm816 rfm816 @.>; Mention @.> Subject: Re: [sollan/alma] Metadata-generation-failed (Issue #36)

You don't often get email from @.*** Learn why this is importanthttps://aka.ms/LearnAboutSenderIdentification

@NuriaAthttps://github.com/NuriaAt

Hello again,

I tested the dependencies with Python 3.10, as Python 3.8 (which has been the recommendation so far) will reach end of life next year. You can find the requirements for a Conda env herehttps://github.com/sollan/alma/blob/master/conda_env_python_3_10.yml and try installing in a Python 3.10 environment.

Hope that helps!

Annette

— Reply to this email directly, view it on GitHubhttps://github.com/sollan/alma/issues/36#issuecomment-1820868067, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BD6VG4YFHCZDRR3J2YYTB6LYFSPV3AVCNFSM6AAAAAA7K4OM62VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMRQHA3DQMBWG4. You are receiving this because you were mentioned.Message ID: @.***>

sollan commented 9 months ago

Hi Nuria,

I'm glad it works now!

Currently you can't modify the label names or add additional labels in the config (and we also don't compute any kinematic parameters related to body / tail; feel free to propose or implement additional parameters though :) ).

If you just want to use a DLC output file that contains further body part labels, there should be no need to change the configs - the additional label columns in the file are simply ignored.

Best,

Annette

sollan commented 9 months ago

Closing this as the initial issue has been addressed