Hi Pymol users I use Pymol v1.3 on Windows and I would like to use the loadBfacts.py (http://www.pymolwiki.org/index.php/Load_new_B-factors) (renamed, here, loadB2Fact.py) to change the B factor value according to other values stored in an external txt file. On my linux machine, I use the following script that works well
### Script ## bg black hide all select BENZ, resname BEN hide BEN select SOL, resname SOL hide SOL select DOP, resname DOP hide DOP select protein, resi 1-76 run loadB2Fact.py loadBfacts protein, 1, UBQ_TIP4P_Bulk_Water_residue_0.350_nm_Average_Statistics.dat cartoon automatic, protein set_view (\ -0.252517521, 0.895963371, 0.365354568,\ 0.693045497, 0.430974960, -0.577881873,\ -0.675220251, 0.107282706, -0.729772329,\ -0.000030319, -0.000010751, -106.549461365,\ 30.012023926, 31.324144363, 31.591945648,\ 66.820175171, 146.280471802, -20.000000000 ) ###End Script But on windows, i obtained the following errors PyMOL>run ./loadB2Fact.py Traceback (most recent call last): File "C:\Program Files (x86)\PyMOL_v13\PyMOL/modules\pymol\parser.py", line 338, in parse parsing.run_file(path,self.pymol_names,self.pymol_names) File "C:\Program Files (x86)\PyMOL_v13\PyMOL/modules\pymol\parsing.py", line 455, in run_file execfile(file,global_ns,local_ns) IOError: [Errno 2] No such file or directory: './loadB2Fact.py' PyMOL>loadBfacts protein, 1, UBQ_TIP4P_Bulk_Water_residue_0.350_nm_Average_Statistics.dat Traceback (most recent call last): File "C:\Program Files (x86)\PyMOL_v13\PyMOL/modules\pymol\parser.py", line 464, in parse exec(layer.com2+"\n",self.pymol_names,self.pymol_names) File "<string>", line 1 loadBfacts protein, 1, UBQ_TIP4P_Bulk_Water_residue_0.350_nm_Average_Statistics.dat ^ SyntaxError: invalid syntax And I see nothing on the screen Could you help me ? Thanks Stéphane ------------------------------------------------------------------------------ Don't Limit Your Business. Reach for the Cloud. GigeNET's Cloud Solutions provide you with the tools and support that you need to offload your IT needs and focus on growing your business. Configured For All Businesses. Start Your Cloud Today. https://www.gigenetcloud.com/ _______________________________________________ PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net) Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net