- if (selectedFile != null)
- {
- this.inFile = selectedFile.getPath();
- }
- this.inFile = file;
+ // BH 2019.10.06 PDB.getSequenceRecords calling this and then needs string,
+ // below
+ inFile = (selectedFile == null ? file : selectedFile.getPath());
// todo is mc_view parsing obsolete yet? JAL-2120
StructureImportSettings.setShowSeqFeatures(true);
alignFile = new mc_view.PDBfile(annotFromStructure,
// todo is mc_view parsing obsolete yet? JAL-2120
StructureImportSettings.setShowSeqFeatures(true);
alignFile = new mc_view.PDBfile(annotFromStructure,