fafbseg.flywire.delete_annotations#

fafbseg.flywire.delete_annotations(table_name, annotation_ids, *, dataset=None)[source]#

Delete annotations from CAVE annotation table.

Parameters:
  • table_name (str) – Name of the table.

  • annotation_ids (int | list | np.ndarray | pandas.DataFrame) – ID(s) of annotations to delete. If DataFrame must contain an “id” column.

  • dataset ("public" | "production" | "sandbox", optional) – Against which FlyWire dataset to query. If None will fall back to the default dataset (see set_default_dataset()).

Returns:

response – Server response.

Return type:

str