Remove the specified extensions from this k-mer. */
| 1479 | |
| 1480 | /** Remove the specified extensions from this k-mer. */ |
| 1481 | void NetworkSequenceCollection::removeExtension( |
| 1482 | const V& seq, extDirection dir, SymbolSet ext) |
| 1483 | { |
| 1484 | if (isLocal(seq)) { |
| 1485 | m_data.removeExtension(seq, dir, ext); |
| 1486 | notify(seq); |
| 1487 | } else { |
| 1488 | int nodeID = computeNodeID(seq); |
| 1489 | m_comm.sendRemoveExtension(nodeID, seq, dir, ext); |
| 1490 | } |
| 1491 | } |
| 1492 | |
| 1493 | /** Return whether this sequence belongs to this process. */ |
| 1494 | bool NetworkSequenceCollection::isLocal(const V& seq) const |
no test coverage detected