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

Warning message from matplotlib #742

Closed
lydiayliu opened this issue May 18, 2023 · 3 comments · Fixed by #764
Closed

Warning message from matplotlib #742

lydiayliu opened this issue May 18, 2023 · 3 comments · Fixed by #764
Labels
bug Something isn't working

Comments

@lydiayliu
Copy link
Collaborator

I have no name!@ffc6ce33d83f:/$ moPepGen callAltTranslation \
>     --selenocysteine-termination \
>     --w2f-reassignment \
>     --index-dir /hot/project/method/AlgorithmDevelopment/ALGO-000074-moPepGen/ref/GRCh38-EBI-GENCODE34/index/ \
>     --output-path /hot/project/method/AlgorithmDevelopment/ALGO-000074-moPepGen/ref/GRCh38-EBI-GENCODE34/alt_translation/sect_w2f_default.fasta
Matplotlib created a temporary config/cache directory at /tmp/matplotlib-4pmdw9dn because the default path (/.config/matplotlib) is not a writable directory; it is highly recommended to set the MPLCONFIGDIR environment variable to a writable directory, in particular to speed up the import of Matplotlib and to better support multiprocessing.
@lydiayliu lydiayliu added the enhancement New feature or request label May 18, 2023
@lydiayliu
Copy link
Collaborator Author

I'm still getting this, I think it is a little annoying and is something that we should clean up? @zhuchcn what do you think?

@lydiayliu lydiayliu added bug Something isn't working and removed enhancement New feature or request labels Jul 4, 2023
@zhuchcn
Copy link
Member

zhuchcn commented Jul 4, 2023

Why this is anoying is because docker can be launched with different user names. This means the user's home directory is different and it's hard to figure out a shared "home" for all users. I googled before but didn't find any directly relavent answer. Maybe we can set it to /opt/matplotlib or /tmp/matplotlib I can give it a try

@lydiayliu
Copy link
Collaborator Author

Ahh that's why it's different every time. I launched using sbatch this time and this showed up in .err which is annoying (and i think will alarm users)

This is what it looked like this time

Digest: sha256:e8265ccf54c68e9306b1893ca7bb955bc8facfd053ceb565c238ee297a946539
Status: Downloaded newer image for ghcr.io/uclahs-cds/mopepgen:1.1.0
Matplotlib created a temporary config/cache directory at /tmp/matplotlib-q13z6mn_ because the default path (/.config/matplotlib) is not a writable directory; it is highly recommended to set the MPLCONFIGDIR environment variable to a writable directory, in particular to speed up the import of Matplotlib and to better support multiprocessing.
Matplotlib created a temporary config/cache directory at /tmp/matplotlib-nty5zszx because the default path (/.config/matplotlib) is not a writable directory; it is highly recommended to set the MPLCONFIGDIR environment variable to a writable directory, in particular to speed up the import of Matplotlib and to better support multiprocessing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants