Viacheslav Kukushkin
Viacheslav Kukushkin
Hmmm So, I do see the following tags right now: - `0.0.19` tag, made in Feb 2024 - current `master`, version `0.0.20-dev` with a bunch of fixes over `0.0.19` -...
Mmmm. One more thought. The previous `debug_info` output was quite concise and that's why useful. Now it would be harder for user to copy it from terminal output. Is it...
How do we use it? If we really need list of packages I'd prefer to use stdout & bash pipes instead of hardcoded flushing to file, so user do this:...
> Something like this: Yeah, that's a good solution if we need pip versions. But my question is in other direction: existing solution with printing a short but very informative...
Just to highlight: all solutions look quite similar to me, I don't have a strong preference of one of them:) So I'm just asking and offering alternatives. Any usable solution...
@scap3yvt Hi man! You need to make three fixes: 1. You need to add argparse and a new flag to old_way also, smth like this: ``` parser.add_argument('--verbose', '-v', default=False, action='store_true')...
Hi @scap3yvt , Say you are testing line ``` old_lines = [ ..., "--verbose True", ... ] ``` İt is the same as you are running manually the following command:...
Hey folks, let me look in more detail a bit later cos I didn't find answer from the first glance. Actually the `_debug_info()` should not be covered at all (at...
What `CliCase` does is it checks `_debug_info()` function was called with `verbose` True/False arg. However for that test __mocks up__ the real `_debug_info()` function: [what is mocked](https://github.com/mlcommons/GaNDLF/blob/f97a17dcb84262bf4f9fc6acc5c560adea6cd4dd/testing/entrypoints/test_debug_info.py#L11), [when](https://github.com/mlcommons/GaNDLF/blob/f97a17dcb84262bf4f9fc6acc5c560adea6cd4dd/testing/entrypoints/__init__.py#L272) and [how](https://github.com/mlcommons/GaNDLF/blob/f97a17dcb84262bf4f9fc6acc5c560adea6cd4dd/testing/entrypoints/__init__.py#L284)...
Hi @sarthakpati , thanks for reminder, didn't look on it yet. Let me check what's happening a bit later this week