Skip to content
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

Use IsMaster() in BeginOfRunAction #55

Merged
merged 2 commits into from
Sep 4, 2023
Merged

Use IsMaster() in BeginOfRunAction #55

merged 2 commits into from
Sep 4, 2023

Conversation

lopezzot
Copy link
Owner

@lopezzot lopezzot commented Sep 4, 2023

Do not use IsMaster() in RunAction constructor as IsMaster() does not return a correct value until that RunAction object is set to a RunManager. Reported here.

@stephanlachnit just in case you are using it in the RunAction constructor of other applications :)

Do not use it in constructor as IsMaster() does not return a correct value until that RunAction object is set to a RunManager.
Move GetType() call after having set the file output name. However, this
does not fix the empty string returned problem.
@lopezzot
Copy link
Owner Author

lopezzot commented Sep 4, 2023

Accepting PR #55.

@lopezzot lopezzot merged commit 391c47f into main Sep 4, 2023
2 checks passed
@lopezzot lopezzot deleted the lp-fixismaster branch September 4, 2023 12:06
@stephanlachnit
Copy link
Contributor

Thanks for letting me know!

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