Skip to content

Computation debug mode #2825

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 47 commits into
base: main
Choose a base branch
from
Open

Computation debug mode #2825

wants to merge 47 commits into from

Conversation

thangqp
Copy link
Contributor

@thangqp thangqp commented Apr 25, 2025

No description provided.

@thangqp thangqp requested a review from etiennehomer May 16, 2025 14:01
@thangqp thangqp requested a review from Mathieu-Deharbe June 11, 2025 09:11
Copy link
Contributor

@Mathieu-Deharbe Mathieu-Deharbe left a comment

Choose a reason for hiding this comment

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

Test ok, code ok too.

setShowContingencyListSelector(false);
},
() => startSecurityAnalysis(studyUuid, currentNode?.id, currentRootNetworkUuid, contingencyListNames),
null,
Copy link
Contributor

Choose a reason for hiding this comment

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

It looks like this parameter (fnBefore) is now always null and therefore useless. Coud be removed.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

'fnBefore' might be useful in the future, so I think we should keep this argument.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

NO ACTION

Copy link
Contributor

@Mathieu-Deharbe Mathieu-Deharbe Jun 19, 2025

Choose a reason for hiding this comment

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

I understand but this is the simplest (useless) code in the world : !

            if (fnBefore) {
                fnBefore();
            }

Copy link
Contributor Author

Choose a reason for hiding this comment

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

OK. DONE in ae9e3e8

Copy link

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.

2 participants