{
this.selectedFile = selectedFile;
- 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());
try
{
if (fileFormat.isStructureFile())
}
else
{
+ // BH: This block is executed by PDBSequenceFetcherTest
+
// todo is mc_view parsing obsolete yet? JAL-2120
StructureImportSettings.setShowSeqFeatures(true);
alignFile = new mc_view.PDBfile(annotFromStructure,