-
Notifications
You must be signed in to change notification settings - Fork 1
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
AttributeError: 'Namespace' object has no attribute 'outCsvFile' and not plots #5
Comments
This is a bug in code. I will look into it. You may use without csvfile as output for meantime. It will anyway print the values on display terminal. You have not used either -cpoint or -catmid with hole command. It will use COM of radius group. And use -pdb option for only one frame to check whether cavity is identified correctly. |
Thank you Dr Kumar
But I still have a problem to obtain the average radius of the channel for plotting the pore lining surface as for instance in figure 3A in the following paper (10.1080/19336950.2017.1306163) Do you have an idea when the bug in the "holeplot.py" will be corrected ? Thanks again Stéphane |
To make surface for average-radius, here is a link which could help: http://www.holeprogram.org/doc/index.html#_producing_a_colored_dot_surface_and_visualizing_in_vmd. You can use pdb file obtained from -pdb option in place of hole_out.sph in the above link. I do not know how average value can be visualized as sph (or pdb) file generated for each frame. You may take a pdb file and replace manually all radius value with average value and then procedures given in above link might work for visualization of average radius. I will try to correct csvfile problem in this weekend. |
You may also try to correct the csvfile error as follows:
It should work after this correction. |
Thank you for your response. |
abel@is154919:~/MDs_GramicidinA/GrA_65SDS_Water_rep1_2/Hole_Analysis$ ./Do_HolePlot_Analysis.bash Reading file : 1JNO_GrA_65SDS_Micelle_CHARMM36_TIP3P_rep2_hole_radius_along_Z.dat
|
Re Hello "$MYSOURCE"/gmx_clusterByFeatures holeplot -i my_radius_along_Z.dat -xmin 0 -endrad 5.0 -do 90 --out-csv output.csv -resplot -b 200000 -e 230000 -ymin 0 -ymax 15 --output my_radius_radius_along_Z.pdf -fs 14 -dpi 300 -rlsize 1 |
HI all
I have the data from gmx_clusterByFeatures with the following commands bot in a bash script
/ccc/work/cont003/drf/abel01/gmx_clusterByFeatures_Cobalt_suppapp/install_noMPI/bin/gmx_clusterByFeatures hole -f /ccc/store/cont003/drf/abel01/MDs_GENCI_2017/GrA_65SDS_Micelle_CHARMM36_TIP3P_rep2/XTC/1JNO_GrA_65SDS_Micelle_CHARMM36_TIP3P_rep2_Along_Z_Axis_Rotated_afterFit_Center.xtc -s 1JNO_GrA_65SDS_Micelle_CHARMM36_TIP3P_rep2_fake_reoriented.tpr -n System.ndx -o 1JNO_GrA_65SDS_Micelle_CHARMM36_TIP3P_rep2_hole_radius_along_Z.dat -pdb 1JNO_GrA_65SDS_Micelle_CHARMM36_TIP3P_rep2_hole_sphpdb.pdb -b 229000 -e 230000 -fit -sample 0.5 -cvect 0 0 1 -rad bondi
And I would like to obtain and image of the results so I use the following command
/ccc/work/cont003/drf/abel01/gmx_clusterByFeatures_Cobalt_suppapp/install_noMPI/bin/gmx_clusterByFeatures holeplot -i 1JNO_GrA_65SDS_Micelle_CHARMM36_TIP3P_rep2_hole_radius_along_Z.dat -csv 1JNO_GrA_65SDS_Micelle_CHARMM36_TIP3P_rep2_hole_radius_along_Z.csv -xmin 0 -xmax 15 -ax Z -resplot -b 229000 -e 230000 -ymin 0 -ymax 15 --output 1JNO_GrA_65SDS_Micelle_CHARMM36_TIP3P_rep2_hole_radius_along_Z.pdf -fs 14 -dpi 300 -rlsize 10
But I obtain the error and no pdf file is generated
Traceback (most recent call last):
File "/ccc/work/cont003/drf/abel01/gmx_clusterByFeatures_Cobalt_suppapp/install_noMPI/bin/gmx_clusterByFeatures", line 8, in
gmx_clusterByFeatures.main.main()
File "/ccc/work/cont003/drf/abel01/gmx_clusterByFeatures_Cobalt_suppapp/gmx_clusterByFeatures-master/gmx_clusterByFeatures/main.py", line 79, in main
holeplot.main()
File "/ccc/work/cont003/drf/abel01/gmx_clusterByFeatures_Cobalt_suppapp/gmx_clusterByFeatures-master/gmx_clusterByFeatures/holeplot.py", line 170, in main
holeProcessor.plot_radius_residues(outputFile, csvfile=args.outCsvFile, violinplot=args.violinplot,
AttributeError: 'Namespace' object has no attribute 'outCsvFile'
See also the file attached.
Could you help me to resolve this problem
Thank you
GrA_SDS_hole.4602493e.TXT
The text was updated successfully, but these errors were encountered: