marcnol / pyHiM

Multiplexed DNA-FISH data analysis pipeline
GNU Lesser General Public License v3.0
4 stars 2 forks source link

trace_to_matrix.py - missing module #185

Closed MarionBardou closed 1 year ago

MarionBardou commented 1 year ago

I just did a git pull on development and I think a dependency changed.

Now, when I try to run "trace_to_matrix.py", I get the following error : " (pyHiM_refact) bardou@darwin:/mnt/grey/DATA/users/Marion/Hi-M_analysis_Droso_brain/rut/non_OK107/3D_projected/Combined_exp_32_53_filt/15bc_min$ trace_to_matrix.py --help Traceback (most recent call last): File "/home/bardou/Repositories/pyHiM/src/postProcessing/trace_to_matrix.py", line 23, in from matrixOperations.build_matrix import BuildMatrix File "/home/bardou/Repositories/pyHiM/src/matrixOperations/build_matrix.py", line 39, in from core.parameters import get_dictionary_value File "/home/bardou/Repositories/pyHiM/src/core/parameters.py", line 14, in from dataclasses_json import CatchAll, LetterCase, Undefined, dataclass_json ModuleNotFoundError: No module named 'dataclasses_json' "

marcnol commented 1 year ago

Xavier sent an email around to explain how to install this new modules... perhaps Xavier should also put it somewhere else in the repo?

On Wed, Oct 4, 2023 at 5:57 PM MarionBardou @.***> wrote:

I just did a git pull on development and I think a dependency changed.

Now, when I try to run "trace_to_matrix.py", I get the following error : " (pyHiM_refact) @.***:/mnt/grey/DATA/users/Marion/Hi-M_analysis_Droso_brain/rut/non_OK107/3D_projected/Combined_exp_32_53_filt/15bc_min$ trace_to_matrix.py --help Traceback (most recent call last): File "/home/bardou/Repositories/pyHiM/src/postProcessing/trace_to_matrix.py", line 23, in from matrixOperations.build_matrix import BuildMatrix File "/home/bardou/Repositories/pyHiM/src/matrixOperations/build_matrix.py", line 39, in from core.parameters import get_dictionary_value File "/home/bardou/Repositories/pyHiM/src/core/parameters.py", line 14, in from dataclasses_json import CatchAll, LetterCase, Undefined, dataclass_json ModuleNotFoundError: No module named 'dataclasses_json' "

— Reply to this email directly, view it on GitHub https://github.com/marcnol/pyHiM/issues/185, or unsubscribe https://github.com/notifications/unsubscribe-auth/AACTN7NJYFFPMYE2SCWFMVDX5WBQNAVCNFSM6AAAAAA5S3SMJKVHI2DSMVQWIX3LMV43ASLTON2WKOZRHEZDMNJQG44TANA . You are receiving this because you are subscribed to this thread.Message ID: @.***>

-- |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| Marcelo Nollmann CNRS Research Director e-mail: @., @. website: http://www.nollmannlab.org/

Center for Structural Biology, INSERM/CNRS, Univ de Montpellier 60 Rue de Navacelles, 34090 Montpellier France


/ Caution: breathing may be hazardous to \ \ your health. /

o o .... ........ . . . . . ......... ....... .............................. Elephant inside ASCII snake fortune -a | fmt -80 -s | $(shuf -n 1 -e cowsay cowthink) -$(shuf -n 1 -e b d g p s t w y) -f $(shuf -n 1 -e $(cowsay -l | tail -n +2)) -n

MarionBardou commented 1 year ago

I forgot about that email. It is my fault. Sorry for the disturbance

XDevos commented 1 year ago

For the future and others: In this error case, you usually have to do a "pip install " like pip install dataclasses_json.