* and updates any viewers that have the PDB file
*
* @param seq
- * @param chains
* @param apanel
* @param pdbFilename
*/
protected void addSequenceMappingsToStructure(SequenceI[] seq,
- String[] chains, final AlignmentPanel apanel, String pdbFilename)
+ final AlignmentPanel apanel, String pdbFilename)
{
// TODO : Fix multiple seq to one chain issue here.
/*
* create the mappings
*/
- apanel.getStructureSelectionManager().setMapping(seq, chains,
+ apanel.getStructureSelectionManager().setMapping(seq, null,
pdbFilename, DataSourceType.FILE);
/*
* @param pdbId
* @return true if the user chooses to add to a viewer, or to cancel entirely
*/
- protected boolean addAlreadyLoadedFile(SequenceI[] seq, String[] chains,
+ protected boolean addAlreadyLoadedFile(SequenceI[] seq,
final AlignmentPanel apanel, String pdbId)
{
boolean finished = false;
}
else if (option == JvOptionPane.YES_OPTION)
{
- addSequenceMappingsToStructure(seq, chains, apanel, alreadyMapped);
+ addSequenceMappingsToStructure(seq, apanel, alreadyMapped);
finished = true;
}
}