[sorry, that got messed up with my paste of of the modelIndex < 0 idea.]
Hmm. I don't think it's Jmol. The only way that can happen is if the file
reader somehow has no file path. But we have in AtomSetCollectionReader:
filePath = "" + htParams.get("fullPathName");
So I don't see how that can become null.
Try taking a look at viewer.ms.msInfo and seeing what its keys are.
It's public. You are basically saying that in that Hashtable there is no
"modelFile" key.
Hard to believe....
Ah, wait, this could be:
public Object getInfo(int modelIndex, String key) {
return (modelIndex < 0 ? null : am[modelIndex].auxiliaryInfo.get(key));
}
maybe your modelIndex < 0.
_______________________________________________
Jalview-dev mailing list
[email protected]
http://www.compbio.dundee.ac.uk/mailman/listinfo/jalview-dev