I try to load multiple files but i can't... I 'm working with perl :
print "
<form>
<script>
jmolInitialize("Jmol.js");
jmolApplet(300, "load "fileset" "1BZ8.pdb"
"1C26.pdb"; select */2; color red;");
</script>
</form>";
The problem is quotes... how can i do this ?
I tried :
print "
<form>
<script>
jmolInitialize("Jmol.js");
jmolApplet(300, "load 'fileset' '1BZ8.pdb'
'1C26.pdb'; select */2; color red;");
</script>
</form>";
But it does not work too. And :
print "
<form>
<script>
jmolInitialize("Jmol.js");
jmolApplet(300, load "fileset" "1BZ8.pdb"
"1C26.pdb"; select */2; color red;);
</script>
</form>";
The same..
Thanx
Bob Hanson a écrit :
> Frieda Reichsman wrote:
>
>
>> Say I have 3 files loaded but my set of labels should appear on only
>> one of them. I also want to be able to turn on and off the display of
>> the three proteins at will.
>>
>> Is there an easy way to select a series of single atoms for labeling
>> and have the label apply only to one file?
>>
>> Or is the only way to do this to repeat "select file=1 and ..." over
>> and over, like so:
>>
>> select file=1 and 263.n
>> label helix 1
>>
>>
> If it's one model per file, you can just use the old syntax:
>
> select 263.n/1; label helix1
>
> Certainly you need only the number of select/label combinations as you
> have distinct labels, but other than that, yes, you need to specify the
> atom and model number to get the label on just that atom.
>
>
>> In other words is there some way to say, "the following selections
>> apply ONLY to file =1" (and then also end it in some way)?
>>
>>
> Well, you could do:
>
> select 263.n; label helix1
> select 283.n; label helix2
> ...
> select file != 1
> labels off
>
> That is, just put all the labels in, but then in the end turn the
> unwanted ones off.
>
> Bob
>
>
>> ///////////////////////////////////////////
>>
>>
>> Frieda Reichsman, PhD
>>
>> Molecules in Motion
>>
>> Interactive Molecular Structures
>>
>> http://www.moleculesinmotion.com
>>
>>
>> ///////////////////////////////////////////
>>
>>
>>
>>
>
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Jmol-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jmol-users
>
>
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users