at 12.06a EDT on 2004 January 29 Thursday Miguel Howard said:

> >> Q: Do you think that there is value in specifying a 'standard' syntax
> >> for pulling files from the pdb? Something like: 'load [pdb]1ezn'
> >>
> >> That way, you could externalize the location of the server (and the
> >> specific URL) and get it out of the RasMol script.
> >>
> >yes - esp if there is also a pref for setting your default pdb mirror.
> 
> I am looking for a standard syntax for pulling data from remote databases.
> The idea is that we would store the exact URL outside the scripts (and in
> a configuration file). That way, scripts don't get filled up with specific
> URLs pointing to CGIs that might change.
> 
> 
> Option 1:
>   load [pdb]1ezn
> 
> Option 2:
>   load pdb(1ezn)
> 
> In both cases, we may want to support multiple parameters
> 
> Option 1:
>   load [someDatabase]someID,someFlag
> 
> Option 2:
>   load someDatabase(someID,someFlag)
> 
> 
> Any thoughts on syntax 1 vs syntax 2?
> 

how about 

load someID(someDB,someFlag)

instead?  I think of the ID as the central element here, and I'd like to be
able to say simply

load someID

and have Jmol use the default database from its pref file.


regards,

:tim

-- 
timothy driscoll
molvisions - molecular graphics & visualization
<http://www.molvisions.com/>
usa:north carolina:wake forest


-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Jmol-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jmol-developers

Reply via email to