-
Notifications
You must be signed in to change notification settings - Fork 63
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
DISPLAY variable issue when running pvacvector visualize #1069
Comments
I found this thread pretty helpful in understanding what the DISPLAY env variable is and why it might not be set:
So, for one reason or another, DISPLAY not being set indicates that there is no GUI set up on the machine that is running the command. In the case described in #54 we were trying to run these commands on our compute cluster. The |
Thank you so much for your quick response! I'm running on a computing cluster with linux system. I tried Thank you again for your help! |
I tested this instruction using X-11 forwarding (https://hpc.nmsu.edu/discovery/software/x11-forwarding/) and it worked. I have the figure generated, however, with very low resolution. Do you have any thoughts on how to increase the resolution? I will probably try to make the plot using the fasta file with ggplot instead. |
Glad you were able to get it to work. I'm noticing the same thing on my end with the pixelation. It is sharp when it gets drawn but then blurry upon saving. I will investigate that issue. |
Thank you for your timely help! |
Installation Type
Standalone
pVACtools Version / Docker Image
4.0.8
Python Version
Python 3.7.6
Operating System
Linux
Describe the bug
pvacvector run
was done perfectly, and i got two output fasta files,Test_results.dna.fa
andTest_results.fa
However, when I try to run
pvacvector visualize Test_results.fa .
, it gave me this error: "Exception: DISPLAY environment variable not set. Unable to create vector visualization."I think issue #54 was discussing about this issue, but it's still confusing to me.
Thank you so much for your help!
How to reproduce this bug
pvacvector visualize Test_results.fa .
Input files
Log output
Traceback (most recent call last):
File "/bar/yliang/anaconda3/bin/pvacvector", line 8, in
sys.exit(main())
File "/bar/yliang/anaconda3/lib/python3.7/site-packages/pvactools/tools/pvacvector/main.py", line 50, in main
args[0].func.main(args[1])
File "/bar/yliang/anaconda3/lib/python3.7/site-packages/pvactools/tools/pvacvector/visualize.py", line 35, in main
raise Exception("DISPLAY environment variable not set. Unable to create vector visualization.")
Exception: DISPLAY environment variable not set. Unable to create vector visualization.
Output files
No response
The text was updated successfully, but these errors were encountered: