question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

cmd ref: clarify metric file type auto detection and it's relationship with `-x` (add, modify, show subcommands)

See original GitHub issue

JSON metric files are detected by dvc metrics based on their file extensions (see iterative/dvc/issues/1553).

E.g. if we see that output has .json suffix, we could safely assume that it is --type json without explicitly specifying it.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:10 (10 by maintainers)

github_iconTop GitHub Comments

3reactions
jorgeorpinelcommented, May 20, 2020

I saw this (iterative/dvc.org/pull/228) and thought we need to make changes in the docs of repro

Hmmm good find, yes maybe the -m option of dvc repro in https://dvc.org/doc/command-reference/repro#options could use updating as well. But again, this issue’s main goal is stated in the title, and involves the dvc metrics add/modify/show subcommands.

But I’m starting to think this whole issue may be outdated though, as it’s over a year old. For starters, we only support JSON metrics right now (soon to add YAML).

Let’s ask @shcheklein or @efiop to confirm.

Meanwhile @srishti-nema I recommend you either a) learn how to use DVC metrics and try to reproduce this issue (JSON metric type autodetection by file extension when -t isn’t provided to dvc metrics show for example) and figure out whether all the documents we’ve mentioned are up to date; or b) pick another issue. Thanks

1reaction
shchekleincommented, Jul 18, 2020

I think it’s not relevant anymore.

Read more comments on GitHub >

github_iconTop Results From Across the Web

FTP subcommands - IBM
Subcommand Description See ? Provides information to use FTP. HElp and ? subcommands... ACCount Sends host‑dependent account information. ACCt subcommand—Suppl... AUth Requests a security mechanism for...
Read more >
sonic-utilities/Command-Reference.md at master - GitHub
Command line utilities for the SONiC project. ... Version, Modification Date, Details ... the command as well as the possible sub-commands and options....
Read more >
IBM SPSS Statistics 22 Command Syntax Reference
The Command Syntax Reference is arranged alphabetically by command name to provide quick access to detailed information about each command in the syntax ......
Read more >
Command-Line Reference | Bazel
Executes a dependency graph query. run, Runs the specified target. shutdown, Stops the bazel server. sync, Syncs all ...
Read more >
OpenShift CLI developer command reference
Edit the last-applied-configuration annotations by type/name in YAML. oc apply ... Auto scale a deployment "foo", with the number of pods between 2...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found