Skip to content

Commit a33797e

Browse files
author
Lieke van Son
committed
cleaned up 2 print statements
1 parent 3089ae7 commit a33797e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

postProcessing/Folders/CosmicIntegration/PythonScripts/FastCosmicIntegration.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -561,7 +561,7 @@ def append_rates(path, filename, detection_rate, formation_rate, merger_rate, re
561561
# The detection_rate is a smaller array, make sure you don't go beyond the end
562562
detection_index = z_index if z_index < n_redshifts_detection else n_redshifts_detection
563563

564-
print('You will only save data up to redshift ', maxz, ', i.e. index', redshifts[z_index])
564+
print('You will only save data up to redshift ', maxz, ', i.e. index', z_index)
565565
save_redshifts = redshifts
566566
save_merger_rate = merger_rate[:,:z_index]
567567
save_detection_rate = detection_rate[:,:detection_index]
@@ -584,7 +584,7 @@ def append_rates(path, filename, detection_rate, formation_rate, merger_rate, re
584584

585585
#Always close your files again ;)
586586
h_new.close()
587-
print('Done with append_rates :) your new files are here: ', path + '/' + filename )
587+
print( ('Done with append_rates :) your new files are here: %s/%s'%(path,filename)).replace('//', '/') )
588588

589589

590590

0 commit comments

Comments
 (0)