pachterlab / kite

kallisto index tag extractor
BSD 2-Clause "Simplified" License
20 stars 6 forks source link

import: unable to open X server / command not found /suntax error #10

Closed sunta3iouxos closed 2 years ago

sunta3iouxos commented 2 years ago

import: unable to open X server ' @ error/import.c/ImportImageCommand/344. import: unable to open X server' @ error/import.c/ImportImageCommand/344. import: unable to open X server ' @ error/import.c/ImportImageCommand/344. /home/hthiele0/kite/featuremap/featuremap.py: line 4: from: command not found /home/hthiele0/kite/featuremap/featuremap.py: line 6: syntax error near unexpected token(' /home/hthiele0/kite/featuremap/featuremap.py: line 6: `parser=argparse.ArgumentParser()'

I received the above errors while trying to run the following to our server: $FEATUREMAP TX151_feature.csv --header

the feature csv is coma seperated

Thank you in advance

sunta3iouxos commented 2 years ago

I found the solution as soon as I opened this ticket. Although that this should still be kept here.

The solution is to run the script using the python command: python $FEATUREMAP TX151_feature.csv --header

that's all