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

Polarisation recovery section is not printed #1

Open
nanoy42 opened this issue Jul 24, 2024 · 0 comments
Open

Polarisation recovery section is not printed #1

nanoy42 opened this issue Jul 24, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@nanoy42
Copy link
Contributor

nanoy42 commented Jul 24, 2024

The polarisation recovery section is not printed when printing the configuration. This is due to a missing call in the __str__ function in

def __str__(self) -> str:
res = "=======================\n"
res += "== Bob Configuration ==\n"
res += "=======================\n"
res += f"Schema : {str(self.schema)}\n"
res += f"Export directory : {self.export_directory}\n"
res += f"η (eta) : {self.eta}\n"
res += f"Automatic shot noise calibration : {self.automatic_shot_noise_calibration}\n"
res += "\n"
res += str(self.network)
res += str(self.adc)
res += str(self.switch)
res += str(self.dsp)
res += str(self.parameters_estimation)
res += str(self.laser)
res += str(self.electronic_noise)
res += str(self.electronic_shot_noise)
return res

@nanoy42 nanoy42 added the bug Something isn't working label Jul 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant