mirror of
https://github.com/clearml/clearml
synced 2025-02-07 13:23:40 +00:00
Fix broken Dataset finalize
This commit is contained in:
parent
00efe33896
commit
c2f49547d8
@ -1511,7 +1511,7 @@ class Dataset(object):
|
|||||||
# self._dependency_graph.keys())
|
# self._dependency_graph.keys())
|
||||||
# return dict(chunks_lookup)
|
# return dict(chunks_lookup)
|
||||||
chunks_lookup = map(
|
chunks_lookup = map(
|
||||||
lambda d: (d, Dataset.get(dataset_id=d).get_num_chunks()),
|
lambda d: (d, (self if d == self.id else Dataset.get(dataset_id=d)).get_num_chunks(include_parents=False)),
|
||||||
self._dependency_graph.keys())
|
self._dependency_graph.keys())
|
||||||
return dict(chunks_lookup)
|
return dict(chunks_lookup)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user