Skip to content

Commit

Permalink
Remove Project.index. (#593)
Browse files Browse the repository at this point in the history
* Make Project._index method private, refactor to remove unused arguments.

* Remove xfailed crawler test (functionality no longer needed).

* Delete indexing module.

* Clean up references to index in docs.
  • Loading branch information
bdice committed Dec 5, 2021
1 parent fb390b7 commit 7aa49cb
Show file tree
Hide file tree
Showing 8 changed files with 25 additions and 751 deletions.
1 change: 0 additions & 1 deletion doc/api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ The Project
Project.groupbydoc
Project.import_from
Project.id
Project.index
Project.isfile
Project.min_len_unique_id
Project.num_jobs
Expand Down
9 changes: 0 additions & 9 deletions doc/cli.rst
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ Sharing and archiving a project:
* `move`_
* `clone`_
* `sync`_
* `index`_

.. _signac-cli-clone:

Expand Down Expand Up @@ -92,14 +91,6 @@ import
.. program-output:: signac import --help


.. _signac-cli-index:

index
=====

.. program-output:: signac index --help


.. _signac-cli-init:

init
Expand Down
2 changes: 1 addition & 1 deletion signac/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ def main_project(args):
"""Handle project subcommand."""
project = get_project()
if args.index:
for doc in project.index():
for doc in project._index():
print(json.dumps(doc))
return
if args.workspace:
Expand Down
Loading

0 comments on commit 7aa49cb

Please sign in to comment.