File tree Expand file tree Collapse file tree 4 files changed +15
-3
lines changed
Expand file tree Collapse file tree 4 files changed +15
-3
lines changed Original file line number Diff line number Diff line change 11# Changelog
22
3+ ## 0.0.2
4+
5+ ### New features
6+
7+ - Writes scores to a text file
8+
39## 0.0.1
410
5- First released version from which all changes will be tracked.
11+ First released version from which all changes will be tracked.
Original file line number Diff line number Diff line change 99project = "overlappogram"
1010copyright = "2024, J. Marcus Hughes, Dyana Beabout"
1111author = "J. Marcus Hughes, Dyana Beabout"
12- release = "0.0.1 "
12+ release = "0.0.2 "
1313
1414# -- General configuration ---------------------------------------------------
1515# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
Original file line number Diff line number Diff line change @@ -73,6 +73,12 @@ def unfold(config):
7373 os .path .join (config ["output" ]["directory" ], f"{ config ['output' ]['prefix' ]} _prediction_{ postfix } .fits" ),
7474 overwrite = config ["output" ]["overwrite" ],
7575 )
76+
77+ scores_path = os .path .join (config ["output" ]["directory" ],
78+ f"{ config ['output' ]['prefix' ]} _scores_{ postfix } .txt" )
79+ with open (scores_path , 'w' ) as f :
80+ f .write ("\n " .join (scores .flatten ().astype (str ).tolist ()))
81+
7682 if config ["output" ]["make_spectral" ]:
7783 spectral_images = create_spectrally_pure_images (
7884 [em_cube ], config ["paths" ]["gnt" ], config ["inversion" ]["response_dependency_list" ]
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ requires = ["setuptools",
55
66[project ]
77name = " overlappogram"
8- version = " 0.0.1 "
8+ version = " 0.0.2 "
99dependencies = [" numpy" ,
1010 " astropy" ,
1111 " scikit-learn" ,
You can’t perform that action at this time.
0 commit comments