get_original_seg_ids - jaybgager/tracertools GitHub Wiki
This function gets a list of IDs of all the segments that contributed pieces to the current version of a segment.
Arguments:
datastack(string, mandatory)- the name of the CAVE datastack the ID is from
seg_id(integer, mandatory)- the current segment ID of you want the original segment IDs for
Returns:
seg_ids(list of integers)- a list of IDs belonging to the original segments that were wholly or partially absorbed by the specified current segment during proofreading
Example
INPUT:
import tracertools as tt
original_segs = tt.get_original_seg_ids(
datastack = "brain_and_nerve_cord",
seg_id = 720575941703820762,
)
print(original_segs)
OUTPUT:
[
720575941594894009,
720575941453072841,
720575941427247558,
720575941356563148,
720575941442544274,
720575940558712717,
720575941455608288,
720575941664593560,
720575941013393435,
720575941548259054,
720575941616650978,
720575941013070107,
720575941412409405,
720575940543066156,
720575941292747824,
720575941405142319,
720575941565377335
]