chore(SRC): :rocket: Uncomment get stadistical macros
Browse files
app.py
CHANGED
@@ -73,12 +73,12 @@ def calcular_macros(esfuerzo_dieta, objetivo, cumplimiento_entrenamiento,
|
|
73 |
# Print macros
|
74 |
print(f"Macros:\n{macros_differences_list}")
|
75 |
|
76 |
-
#
|
77 |
-
|
78 |
-
|
79 |
|
80 |
-
#
|
81 |
-
|
82 |
|
83 |
# # Create strings for the outputs
|
84 |
# train_day_protein_str = f"min: {train_day_protein_std[0]}, max: {train_day_protein_std[1]}, mean: {train_day_protein_std[2]:.2f}, mode: {train_day_protein_std[3]}"
|
|
|
73 |
# Print macros
|
74 |
print(f"Macros:\n{macros_differences_list}")
|
75 |
|
76 |
+
# Calculate macros min, max and mean
|
77 |
+
(train_day_protein_std, train_day_carbs_std, train_day_fat_std, intratrain_protein_std, intratrain_carbs_std,
|
78 |
+
rest_day_protein_std, rest_day_carbs_std, rest_day_fat_std) = get_min_max_mean_mode_macros_differences(macros_differences_list)
|
79 |
|
80 |
+
# Print macros min, max and mean
|
81 |
+
print(f"Macros min, max and mean:\n{train_day_protein_std}, {train_day_carbs_std}, {train_day_fat_std}, {intratrain_protein_std}, {intratrain_carbs_std}, {rest_day_protein_std}, {rest_day_carbs_std}, {rest_day_fat_std}")
|
82 |
|
83 |
# # Create strings for the outputs
|
84 |
# train_day_protein_str = f"min: {train_day_protein_std[0]}, max: {train_day_protein_std[1]}, mean: {train_day_protein_std[2]:.2f}, mode: {train_day_protein_std[3]}"
|