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

Remove f-string for 2.7 compat. #199

Merged
merged 1 commit into from
Jan 16, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions ImageD11/stress.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,8 @@ def __init__(self,


def __str__(self):
return f"EpsSigSolver:\n phase name: {self.phase_name}\n reference unitcell: {self.unitcell}\n symmetry:" +\
f"{self.symmetry}\n unit:{self.stress_unit}\n Stiffness:\n {self.Cij}\n n ubis: {len(self.UBIs)}"
return ("EpsSigSolver:\n phase name: {phase_name}\n reference unitcell: {unitcell}\n symmetry:" +\
"{symmetry}\n unit:{stress_unit}\n Stiffness:\n {Cij}\n n ubis: {nUBIs)}").format(self)

# Load / save / update functions for parameters (from former eps_sig_solver.py)
########################################
Expand Down
Loading