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 CaptureOutput to forward hoc's stdout to logger.debug #148

Merged
merged 3 commits into from
Mar 8, 2024
Merged

Conversation

anilbey
Copy link
Contributor

@anilbey anilbey commented Mar 7, 2024

This should solve #4 . Could you check @arnaudon, @eleftherioszisis ?
You should be able to see the hoc specific outputs when logger mode is set to debug.

E.g.

DEBUG:bluecellulab.importer:Loaded Cell.hoc. stdout from the hoc: []
DEBUG:bluecellulab.importer:Loaded TDistFunc.hoc. stdout from the hoc: []
DEBUG:bluecellulab.importer:Loaded TStim.hoc. stdout from the hoc: []

@arnaudon
Copy link
Contributor

arnaudon commented Mar 7, 2024

Very good, this does the trick! Thanks a lot, my eyes appreciate it very much ;P

@arnaudon arnaudon marked this pull request as ready for review March 7, 2024 20:13
@arnaudon arnaudon marked this pull request as draft March 7, 2024 20:13
@anilbey anilbey marked this pull request as ready for review March 8, 2024 08:46
@anilbey anilbey merged commit 61f84c5 into main Mar 8, 2024
10 checks passed
@anilbey anilbey deleted the tools branch March 8, 2024 08:47
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