mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-19 15:28:28 +01:00
index: plot_keys: relparts -> parts
`_plot_sources` is messed up and needs a rewrite hard, but this will do for now for studio purposes. Related https://github.com/iterative/studio/pull/6541
This commit is contained in:
+1
-1
@@ -413,7 +413,7 @@ class Index:
|
||||
by_workspace[workspace].add(key)
|
||||
|
||||
for path in self._plot_sources:
|
||||
key = self.repo.fs.path.relparts(path, self.repo.root_dir)
|
||||
key = self.repo.fs.path.parts(path)
|
||||
by_workspace["repo"].add(key)
|
||||
|
||||
return dict(by_workspace)
|
||||
|
||||
Reference in New Issue
Block a user