Skip to content

Conversation

@pared
Copy link
Contributor

@pared pared commented Apr 20, 2019

  • Have you followed the guidelines in our
    Contributing document?

  • Does your PR affect documented changes or does it add new functionality
    that should be documented? If yes, have you created a PR for
    dvc.org documenting it or at
    least opened an issue for it? If so, please add a link to it.


Fixes #1891

@pared pared requested a review from efiop April 20, 2019 02:01
Copy link
Contributor

@efiop efiop Apr 22, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

But mfile is not even in metrics. Are you using it at all then?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good point, at the beggining I didn't realize that this test sets up few metrics. There is no need for additional one. Also, there is no need to run any command, as we already have metrics on different branches.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like json part was left from copypasting? 🙂

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe use self.files instead? Those are set in setUp.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Guilty

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

relpath will use os.getcwd by default, no need to specify it.

@efiop efiop merged commit dd8598e into treeverse:master Apr 22, 2019
@pared pared deleted the 1891 branch November 12, 2019 08:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

dvc metrics: show metrics across branches fails with file does not exist

2 participants