Re: [PyMOL] B-factor replacing problem

2010-03-09 Thread Robert Campbell
Hi Thomas, On Tue, 09 Mar 2010 10:29:17 +0100 Thomas Holder wrote: > Hi Simon and Robert, > > > It sounds like the file as it is read by the script is completely on one > > line. I wonder if this is the old UNIX vs MSDOS line ending problem. > > yes, sounds like a linefeed problem. But actuall

Re: [PyMOL] B-factor replacing problem

2010-03-09 Thread Thomas Holder
Hi Simon and Robert, > It sounds like the file as it is read by the script is completely on one > line. I wonder if this is the old UNIX vs MSDOS line ending problem. yes, sounds like a linefeed problem. But actually python has universal newline support. I made some changes to the script (quite a

Re: [PyMOL] B-factor replacing problem

2010-03-08 Thread Robert Campbell
Hi Simon, On Mon, 08 Mar 2010 18:09:31 +0100 Simon Lindhoud wrote: > Dear all, > > Unfortunately I'm not really familiar with programming in Python (yet) but > I've encountered a problem with MacPyMol in running the script that can be > found here: > http://cavanagh-lab.bch.ncsu.edu/bobay/intr

[PyMOL] B-factor replacing problem

2010-03-08 Thread Simon Lindhoud
Dear all, Unfortunately I'm not really familiar with programming in Python (yet) but I've encountered a problem with MacPyMol in running the script that can be found here: http://cavanagh-lab.bch.ncsu.edu/bobay/intranet/pymol/data2bfactor.py I've tried a couple of things to get the script runnin