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 authored and vyasr committed Mar 13, 2022
1 parent 968a27e commit 3531746
Show file tree
Hide file tree
Showing 7 changed files with 25 additions and 742 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
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 3531746

Please sign in to comment.