Skip to content

Commit

Permalink
fix: remove old code
Browse files Browse the repository at this point in the history
  • Loading branch information
agoose77 committed Oct 4, 2023
1 parent 7bd28e6 commit 857c804
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions src/dask_awkward/lib/io/columnar.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,6 @@ def project(
if not self.use_optimization:
return self

assert self.original_form is None

## Read from stash
# Form hierarchy information
form_key_to_parent_form_key = state["form_key_to_parent_form_key"]
Expand Down
2 changes: 1 addition & 1 deletion src/dask_awkward/lib/io/json.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def use_optimization(self) -> bool:
"awkward.optimization.columns-opt-formats",
default=[],
)
and self.schema is not None
and self.schema is None
)

def project_columns(self, columns: set[str]):
Expand Down

0 comments on commit 857c804

Please sign in to comment.