>>> one can write a javascript method for finding most of this, using >>> 'show pdbheader' in Chime, but what a pain. maybe JMol can have a >>> suite of 'show info' commands to access structure data like this?
>> Writing code to parse the text output would be a disaster. >> > not sure I follow; can you explain? I was just agreeing with you ... it would be a disaster to have to parse the text output of �show pdbheader� in JavaScript. The �disaster� was for you to have to do the work ... not for me to do it :-) > I'm talking about making common current properties available as discrete > elements - for example, show sequence, show ligand, show resolution. > some of these are already implemented in other apps - show sequence, > view show, show info. most of the rest is only accessible via show > pdbheader. I understand and agree. These pieces of data should be available as individual data elements. In general, I would lean towards making them �properties� of the molecule rather than providing individual commands for each data value. *But* if there already is a �standard� established by other programs then we should make that available. > if this is a disaster to include in the code itself, maybe I (or > someone) can write a javascript 'converter' to include with the > distribution - a routine that parses the psbheader info. is that > better? not this type of disaster, so Not Applicable > ah, I see myself jumping the gun here, it's true. I'll try to file my > "wouldn't it be great" requests for the future. :-) I have a tendency to want to jump the gun too. For now, let�s focus on compatibility with existing RasMol/Chime applications/scripts. I think that will serve the community best and will build a critical mass of Jmol converts. Things that are done for compatibility I can implement very quickly ... because frankly there doesn�t have to be much thought into broader design implications. The further we deviate, the more cautious we need to be about the impact on the architecture. So, within existing applications, what do people do with PickCallBack? Miguel ------------------------------------------------------- This SF. Net email is sponsored by: GoToMyPC GoToMyPC is the fast, easy and secure way to access your computer from any Web browser or wireless device. Click here to Try it Free! https://www.gotomypc.com/tr/OSDN/AW/Q4_2003/t/g22lp?Target=mm/g22lp.tmpl _______________________________________________ Jmol-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jmol-users

