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

stefcal / mqt.run: DEBUG messages in terminal window #50

Closed
IanHeywood opened this issue Aug 13, 2015 · 6 comments
Closed

stefcal / mqt.run: DEBUG messages in terminal window #50

IanHeywood opened this issue Aug 13, 2015 · 6 comments

Comments

@IanHeywood
Copy link

Running stefcal via mqt.run:

When stefcal_gain.implementation = GainDiagPhase the calibration finishes in seconds.
When set stefcal_gain.implementation = GainDiag it takes waaaay longer and loads of DEBUG messages get dumped to the terminal.

Both cases when run via the browser finish happily in comparable times. I'm guessing the debug message logging is what's causing the hold up as these don't appear for the phase only case. Can I disable this somehow?

stefcal_verbose = 0 for both cases.

Thanks.

@o-smirnov
Copy link
Contributor

That's odd -- what messages exactly? Could you paste an example please?

@IanHeywood
Copy link
Author

I'll try to recreate the problem on my laptop. Failing that I can post the exact messages on Monday, when I will next have access to the machine it's running on.

It was these print statements that were being triggered though.

@o-smirnov
Copy link
Contributor

Ah, the dprint(0,...) ones can be safely commented out. My bad, I was chasing down a problem and left them in when I committed changes.

@IanHeywood
Copy link
Author

OK it's gone silent but it's still slow as hell compared to phase-only and a browser run.

@IanHeywood
Copy link
Author

Embarassing user error # 42,426:

Typo on my part that was making it revert to a per time slot, per channel solution in the GainDiag case.

Status: I need a holiday.

@o-smirnov
Copy link
Contributor

Well at least we killed the unnecessary debug output. :)

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

No branches or pull requests

2 participants