Skip to content

Commit f83ee53

Browse files
authored
Merge pull request #1572 from jeromekelleher/remove-build-index-docs
Remove TSK_NO_BUILD_INDEXES documentation
2 parents 38cf026 + f1fe817 commit f83ee53

File tree

1 file changed

+0
-29
lines changed

1 file changed

+0
-29
lines changed

c/tskit/tables.h

Lines changed: 0 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -2693,29 +2693,10 @@ int tsk_table_collection_loadf(
26932693
26942694
@rst
26952695
Writes the data from this table collection to the specified file.
2696-
Usually we expect that data written to a file will be in a form that
2697-
can be read directly and used to create a tree sequence; that is, we
2698-
assume that by default the tables are :ref:`sorted <sec_table_sorting>`
2699-
and :ref:`indexed <sec_table_indexes>`. Following these
2700-
assumptions, if the tables are not already indexed, we index the tables
2701-
before writing to file to save the cost of building these indexes at
2702-
load time. This behaviour requires that the tables are sorted.
2703-
If this automatic indexing is not desired, it can be disabled using
2704-
the `TSK_NO_BUILD_INDEXES` option.
27052696
27062697
If an error occurs the file path is deleted, ensuring that only complete
27072698
and well formed files will be written.
27082699
2709-
**Options**
2710-
2711-
Options can be specified by providing one or more of the following bitwise
2712-
flags:
2713-
2714-
TSK_NO_BUILD_INDEXES
2715-
Do not build indexes for this table before writing to file. This is useful
2716-
if you wish to write unsorted tables to file, as building the indexes
2717-
will raise an error if the table is unsorted.
2718-
27192700
**Examples**
27202701
27212702
.. code-block:: c
@@ -2750,16 +2731,6 @@ Semantics are identical to :c:func:`tsk_table_collection_dump`.
27502731
Please see the :ref:`sec_c_api_examples_file_streaming` section for an example
27512732
of how to sequentially dump and load tree sequences from a stream.
27522733
2753-
**Options**
2754-
2755-
Options can be specified by providing one or more of the following bitwise
2756-
flags:
2757-
2758-
TSK_NO_BUILD_INDEXES
2759-
Do not build indexes for this table before writing to file. This is useful
2760-
if you wish to write unsorted tables to file, as building the indexes
2761-
will raise an error if the table is unsorted.
2762-
27632734
@endrst
27642735
27652736
@param self A pointer to an initialised tsk_table_collection_t object.

0 commit comments

Comments
 (0)