Skip to content

Commit

Permalink
fix issue 305 (#309)
Browse files Browse the repository at this point in the history
  • Loading branch information
troyraen authored May 14, 2024
1 parent 1555ca2 commit 3f7a423
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/hipscat_import/catalog/map_reduce.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ def split_pixels(
filtered_data.to_parquet(output_file, index=True)
else:
filtered_data.to_parquet(output_file, index=False)
del filtered_data, data_indexes
del filtered_data, data_indexes

ResumePlan.splitting_key_done(tmp_path=resume_path, splitting_key=splitting_key)

Expand Down
2 changes: 1 addition & 1 deletion tests/hipscat_import/catalog/test_argument_validation.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ def test_multiple_files_in_path(small_sky_parts_dir, tmp_path):
progress_bar=False,
)
assert args.input_path == small_sky_parts_dir
assert len(args.input_paths) == 5
assert len(args.input_paths) == 6


def test_single_debug_file(formats_headers_csv, tmp_path):
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
id,ra,dec,ra_error,dec_error

0 comments on commit 3f7a423

Please sign in to comment.