private String guessPAEFilename()
{
- if (selectedPdbFileName.toLowerCase(Locale.ROOT).endsWith(".pdb"))
+ if (selectedPdbFileName.toLowerCase(Locale.ROOT).endsWith(".pdb")
+ || selectedPdbFileName.toLowerCase(Locale.ROOT)
+ .endsWith(".cif"))
{
String jsonExt = selectedPdbFileName.substring(0,
selectedPdbFileName.length() - 4) + ".json";
.associatePdbWithSeq(selectedPdbFileName,
DataSourceType.FILE, selectedSequence, true,
Desktop.instance);
+ /* LOOK AT
+ public PDBEntry associatePdbWithSeq(String choice, DataSourceType file,
+ SequenceI sequence, boolean prompt,
+ StructureSelectionManagerProvider ssmp)
+ IN AssociatePdbFileWithSeq */
+
+ // DO SOMETHING WITH
+ if (StructureChooser.this.localPdbPaeMatrixFileName != null)
+ {
+
+ }
+ if (StructureChooser.this.combo_tempFacAs
+ .getSelectedItem() != null)
+ {
+
+ }
sViewer = launchStructureViewer(ssm, new PDBEntry[] { fileEntry },
ap, new SequenceI[]