[Jmol-users] JSmol in Institutional Repositories?

2016-08-26 Thread Scalfani, Vincent
Hello, I have seen many great incorporations of JSmol in chemical databases and web pages. However, I am curious if anyone has incorporated JSmol into an Institutional Repository (e.g. Dspace)? Thanks! Vin Vincent F. Scalfani, Ph.D. Science and Engineering Librarian, University Libraries

Re: [Jmol-users] Jmol on Maven Central

2016-08-26 Thread Spencer Bliven
Currently I need to do the release. Theoretically this should be doable automatically, but ant isn't that well supported anymore and I was unable to figure out the configuration yet. Bob, I do think it would be a good idea for you to make a sonatype account

[Jmol-users] Loading MMTF programmatically

2016-08-26 Thread Spencer Bliven
I'm trying to update the way BioJava interacts with Jmol. We're currently loading structures into Jmol by converting them to PDB format and passing that string to JmolViewer.openStringInline(). Now that Jmol 14.6 is available in maven, we need to move away from PDB. My first choice would be to

Re: [Jmol-users] Jmol on Maven Central

2016-08-26 Thread Robert Hanson
Excellent! Thanks, Nico, Spencer, and Mark. When I update Jmol to new subversions, will this somehow happen automatically, or does Mark or Spencer need to watch out for that and do something? On Fri, Aug 26, 2016 at 5:26 AM, Mark Williamson wrote: > On 25/08/16 16:10, Spencer

Re: [Jmol-users] Jmol on Maven Central

2016-08-26 Thread Mark Williamson
On 25/08/16 16:10, Spencer Bliven wrote: > 14.6.1_2016.08.20 is released! At least that's what it says on OSS. It's > not yet showing up in maven central, but I think it might just takes a > few hours to sync. > > Mark, thanks so much for sharing your build notes! They were essential Dear

Re: [Jmol-users] JSmol in Institutional Repositories?

2016-08-26 Thread Angel Herráez
Hi Vin Can you explain more what you are after? I know Dspace only as something related to libraries, either a way to store references or full articles (not sure now) JSmol files are stored in any server that is holding webpages with models. What kind of application or use are you thinking of?

Re: [Jmol-users] Loading MMTF programmatically

2016-08-26 Thread Robert Hanson
The call you will need to make is to this, in org.jmol.viewer.Viewer: public String loadModelFromFile(String fullPathName, String fileName, String[] fileNames, Object reader, boolean isAppend,

Re: [Jmol-users] Loading MMTF programmatically

2016-08-26 Thread Robert Hanson
It would be totally inconvenient to treat the byte[] mmtf data as String data. You can cache the binary data as a byte array and then pass a cache:// protocol. Way better would be to pass the data as a buffered stream, but I don't think that is set up in Jmol. You have the data in what form? Full