Skip to content

plots/metrics: accept any viable target #4446

@pared

Description

@pared

Running:

#!/bin/bash

rm -rf repo
mkdir repo

pushd repo

git init --quiet
dvc init --quiet


echo "{'metric':0.95}" >> metric.json
git add -A
git commit -am "initial"
git tag v1


echo "{'metric':0.96}" >> metric.json
git add -A
git commit -am "second"
git tag v2

dvc metrics diff v1 v2 -v --targets metric.json

yields no result. metrics diff/show should be able to handle non-metrics targets that can be interpreted by our parsers.

Metadata

Metadata

Assignees

Labels

feature requestRequesting a new featurep1-importantImportant, aka current backlog of things to doproduct: VSCodeIntegration with VSCode extensionuiuser interface / interaction

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions