Skip to content

Commit

Permalink
CELE-126 Code format
Browse files Browse the repository at this point in the history
  • Loading branch information
dvcorreia committed Dec 19, 2024
1 parent c1dc640 commit 678a4da
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,13 @@ def _pull_em_metadata(self, dataset_id):

@classmethod
def get_segmentation_metadata(cls, dataset_id):
file = BASE_DIR / DB_RAW_DATA_FOLDER / dataset_id / "segmentations" / "metadata.json"
file = (
BASE_DIR
/ DB_RAW_DATA_FOLDER
/ dataset_id
/ "segmentations"
/ "metadata.json"
)
if not file.exists():
return {}
return json.loads(file.read_text())
Expand Down

0 comments on commit 678a4da

Please sign in to comment.