Re: [Jmol-developers] Reloading current structure fails

2016-06-20 Thread Abel Lovas
Thanks Bob, this approach does seem to work, so I shall change my code accordingly. -- What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic patterns at an interface-level. Reveals which users,

Re: [Jmol-developers] Reloading current structure fails

2016-06-13 Thread Robert Hanson
Does seem odd. Here is a way to do it, though: data "example" 2 testing C 1 1 1 O 2 2 2 end "example"; load inline @{data("example")} {1 1 1} spacegroup 22 unitcell [3 4 5 90 90 90] then you can use load "" or load inline @{data("example")} any time. Or you could define x =

Re: [Jmol-developers] Reloading current structure fails

2016-06-06 Thread Abel Lovas
Hi Angel, Thank you for the examples. First I tried running your code in the console == load data "model example"|@MOLECULE|Molecule Name|5 4|SMALL|NO_CHARGES|||@ATOM|1 C1-0. 0. -0.6300 C 1 fluromethane 0.123871|2 H2 0. 1.0330-0.9980 H 1

Re: [Jmol-developers] Reloading current structure fails

2016-06-03 Thread Angel Herráez
The documentation under "data" says http://chemapps.stolaf.edu/jmol/docs/#data Using load data instead of just data you can load model data with all of the loading options of the standard LOAD command. Also, it says that you should probably use model as part of your data label; this may be the

Re: [Jmol-developers] Reloading current structure fails

2016-06-03 Thread Angel Herráez
Ok, Abel So you are not loading a mol2 file, you are loading data. Reloading of data might not be possible, or may need a different syntax. More investigation is needed on this, I cannoy say right now. What happens if you copy that data into a text file and load it into Jmol? Bob will know,

Re: [Jmol-developers] Reloading current structure fails

2016-06-03 Thread Abel Lovas
Hi Angel, The exact version is 14.6.0_2016.05.24. It seems to be happening to any structure I have. Have only tried it with mol2 files. As the simple load command (load "") triggers the same error, I don't think it's related to the use of the spacegroup filter. This is how the structures

Re: [Jmol-developers] Reloading current structure fails

2016-06-03 Thread Angel Herráez
Hello Abel We need to narrow the problem I've just tested with Jmol 14.6.0_2016.05.24, with a pdb file, a mol file and a mol2 file, and "load" works fine. e.g. load =1crn; load ""; load $caffeine; load ""; load "https://sourceforge.net/p/jmol/code/HEAD/tree/trunk/Jmol-datafiles/mol2/csc