Skip to content

Commit

Permalink
output fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Tomas Stolker committed Aug 3, 2019
1 parent 9d0d3ff commit 2dddf29
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pynpoint/processing/fluxposition.py
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,8 @@ def _objective(arg, count, n_components, sklearn_pca):

self.m_flux_pos_port[count].append(res, data_dim=2)

sys.stdout.write(f'\rRunning SimplexMinimizationModule... {n_components} PC - chi^2 = {chi_square:.8E}')
sys.stdout.write('\rRunning SimplexMinimizationModule... '
sys.stdout.write(f'{n_components} PC - chi^2 = {chi_square:.8E}')
sys.stdout.flush()

return chi_square
Expand All @@ -420,7 +421,7 @@ def _objective(arg, count, n_components, sklearn_pca):
self.m_extra_rot)

for i, n_components in enumerate(self.m_pca_number):
sys.stdout.write('\rRunning SimplexMinimizationModule... {n_components} PC ')
sys.stdout.write(f'\rRunning SimplexMinimizationModule... {n_components} PC ')
sys.stdout.flush()

if self.m_reference_in_port is None:
Expand Down

0 comments on commit 2dddf29

Please sign in to comment.