Skip to content

Commit 1f90de3

Browse files
committed
ENH: capitalize words on prints
1 parent a99c3c2 commit 1f90de3

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

rocketpy/prints/hybrid_motor_prints.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ def motor_details(self):
7777
print(
7878
f"Total Propellant Mass: {self.hybrid_motor.propellant_initial_mass:.3f} kg"
7979
)
80-
print(f"Structural to total mass ratio: {self.hybrid_motor.structural_mass_ratio:.3f}")
80+
print(f"Structural Mass Ratio: {self.hybrid_motor.structural_mass_ratio:.3f}")
8181
avg = self.hybrid_motor.exhaust_velocity.average(*self.hybrid_motor.burn_time)
8282
print(f"Average Propellant Exhaust Velocity: {avg:.3f} m/s")
8383
print(f"Average Thrust: {self.hybrid_motor.average_thrust:.3f} N")

rocketpy/prints/liquid_motor_prints.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def motor_details(self):
4747
print(
4848
f"Total Propellant Mass: {self.liquid_motor.propellant_initial_mass:.3f} kg"
4949
)
50-
print(f"Structural to total mass ratio: {self.liquid_motor.structural_mass_ratio:.3f}")
50+
print(f"Structural Mass Ratio: {self.liquid_motor.structural_mass_ratio:.3f}")
5151
avg = self.liquid_motor.exhaust_velocity.average(*self.liquid_motor.burn_time)
5252
print(f"Average Propellant Exhaust Velocity: {avg:.3f} m/s")
5353
print(f"Average Thrust: {self.liquid_motor.average_thrust:.3f} N")

rocketpy/prints/motor_prints.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ def motor_details(self):
3535
print("Motor Details")
3636
print("Total Burning Time: " + str(self.motor.burn_out_time) + " s")
3737
print(f"Total Propellant Mass: {self.motor.propellant_initial_mass:.3f} kg")
38-
print(f"Structural to total mass ratio: {self.motor.structural_mass_ratio:.3f}")
38+
print(f"Structural Mass Ratio: {self.motor.structural_mass_ratio:.3f}")
3939
print(
4040
"Average Propellant Exhaust Velocity: "
4141
f"{self.motor.exhaust_velocity.average(*self.motor.burn_time):.3f} m/s"

rocketpy/prints/solid_motor_prints.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ def motor_details(self):
6565
print(
6666
f"Total Propellant Mass: {self.solid_motor.propellant_initial_mass:.3f} kg"
6767
)
68-
print(f"Structural to total mass ratio: {self.solid_motor.structural_mass_ratio:.3f}")
68+
print(f"Structural Mass Ratio: {self.solid_motor.structural_mass_ratio:.3f}")
6969
average = self.solid_motor.exhaust_velocity.average(*self.solid_motor.burn_time)
7070
print(f"Average Propellant Exhaust Velocity: {average:.3f} m/s")
7171
print(f"Average Thrust: {self.solid_motor.average_thrust:.3f} N")

0 commit comments

Comments
 (0)