Skip to content

Commit f69c1a1

Browse files
committed
Update snmf_class.py
remove commented print messages
1 parent 5662d60 commit f69c1a1

1 file changed

Lines changed: 0 additions & 16 deletions

File tree

src/diffpy/stretched_nmf/snmf_class.py

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -349,10 +349,6 @@ def normalize_results(self):
349349
self.update_components()
350350
self.residuals = self.get_residual_matrix()
351351
self.objective_function = self.get_objective_function()
352-
# print(
353-
# f"Objective function after normalize_components: "
354-
# f"{self.objective_function:.5e}"
355-
# )
356352
self._objective_history.append(self.objective_function)
357353
self.objective_log.append(
358354
{
@@ -393,10 +389,6 @@ def outer_loop(self):
393389
"timestamp": time.time(),
394390
}
395391
)
396-
# print(
397-
# f"Objective function after update_components: "
398-
# f"{self.objective_function:.5e}"
399-
# )
400392
self._objective_history.append(self.objective_function)
401393
self.objective_difference = (
402394
self._objective_history[-2] - self._objective_history[-1]
@@ -419,10 +411,6 @@ def outer_loop(self):
419411
self.update_weights()
420412
self.residuals = self.get_residual_matrix()
421413
self.objective_function = self.get_objective_function()
422-
# print(
423-
# f"Objective function after update_weights: "
424-
# f"{self.objective_function:.5e}"
425-
# )
426414
self._objective_history.append(self.objective_function)
427415
self.objective_log.append(
428416
{
@@ -464,10 +452,6 @@ def outer_loop(self):
464452
self.update_stretch()
465453
self.residuals = self.get_residual_matrix()
466454
self.objective_function = self.get_objective_function()
467-
# print(
468-
# f"Objective function after update_stretch: "
469-
# f"{self.objective_function:.5e}"
470-
# )
471455
self._objective_history.append(self.objective_function)
472456
self.objective_log.append(
473457
{

0 commit comments

Comments
 (0)