Compare commits

...
1 Commits
Author SHA1 Message Date
Ruslan Kuprieiev c71b07b996 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
2023-08-08 17:14:28 +03:00
+1 -1
View File
@@ -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)