MCPcopy Create free account
hub / github.com/BirolLab/abyss / removeExtension

Method removeExtension

Parallel/NetworkSequenceCollection.cpp:1481–1491  ·  view source on GitHub ↗

Remove the specified extensions from this k-mer. */

Source from the content-addressed store, hash-verified

1479
1480/** Remove the specified extensions from this k-mer. */
1481void 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. */
1494bool NetworkSequenceCollection::isLocal(const V& seq) const

Callers 1

handleMethod · 0.45

Calls 1

sendRemoveExtensionMethod · 0.80

Tested by

no test coverage detected