Skip to content

Commit

Permalink
Sort table based on obstime column.
Browse files Browse the repository at this point in the history
  • Loading branch information
DinoBektesevic committed Jan 29, 2024
1 parent 000cf61 commit c659a29
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 338 deletions.
1 change: 1 addition & 0 deletions src/kbmod/image_collection.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ def _validate(self, metadata):
def __init__(self, metadata, standardizers=None):
valid, explanation = self._validate(metadata)
if valid:
metadata.sort("mjd")
self.data = metadata
else:
raise ValueError(f"Metadata is {explanation}")
Expand Down
338 changes: 0 additions & 338 deletions tests/flycheck_test_butlerstd.py

This file was deleted.

0 comments on commit c659a29

Please sign in to comment.