plan-be / plan-be/iode

GUI: manage printed output when running an IODE report

Open
#478 0 comments 0 reactions 2 assignees View on GitHub

@alixdamman is already working on this.

Since Feb 9, 2024.

enhancement gui help wanted priority: high
Dominant language
C++
Stars
2
Forks
1
Avg merge
7h 35m
Merged PRs (30d)
13

Description

@jmpplan I ma looking for a way to manage the printed output when a user is running an IODE report.

Below the output printed when running the IODE report rep_fns.rep from the the /tests/data folder:

Running report C:/usr/Projects/iode-1/tests/data/rep_fns.rep ...

C:/usr/Projects/iode-1/tests/data/rep_fns.rep[7] - $indent
C:/usr/Projects/iode-1/tests/data/rep_fns.rep[8] - $goto continue 0
C:/usr/Projects/iode-1/tests/data/rep_fns.rep[9] - $show Syntax: rep_fns input_dir output_dir
Syntax: rep_fns input_dir output_dir
C:/usr/Projects/iode-1/tests/data/rep_fns.rep[10] - $show Syntax error. Report aborted.
Syntax error. Report aborted.
C:/usr/Projects/iode-1/tests/data/rep_fns.rep[11] - $return

Execution of report C:/usr/Projects/iode-1/tests/data/rep_fns.rep: Successful

In particular, I would like to print "rep_fns.rep[..]" instead of the full path to the report.

Note:

  1. I pass the absolute path to C++ function execute_report() (which calls B_ReportExec()) for some technical reasons and I very would like to continue to pass the absolute path.
  2. The report contains the directive $debug 1

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.