From 6094fa993a616f00d13e17658e26d8cbc192f9c5 Mon Sep 17 00:00:00 2001 From: George Aidinis Date: Wed, 22 May 2024 15:06:44 -0400 Subject: [PATCH 1/2] Updated version, entrypoint commands --- pyproject.toml | 2 +- setup.py | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index d754819..f8d8975 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [build-system] requires = [ - "setuptools>=54", + "setuptools", "wheel" ] build-backend = "setuptools.build_meta" \ No newline at end of file diff --git a/setup.py b/setup.py index 5a00b7f..5773b36 100644 --- a/setup.py +++ b/setup.py @@ -6,7 +6,7 @@ long_description = (this_directory / "README.md").read_text() setup(name='spare_scores', - version='1.2.0', + version='1.2.1', description='Compute characteristic brain signatures of your case population.', long_description=long_description, long_description_content_type='text/markdown', @@ -23,6 +23,8 @@ 'matplotlib', 'optuna'], entry_points={ - 'console_scripts': ['spare_score=spare_scores.cli:main'] + 'console_scripts': ["spare_score = spare_scores.cli:main", + "spare_scores = spare_scores.cli:main", + "SPARE = spare_scores.cli:main"] }, ) \ No newline at end of file From f3b8defd61e97c5b1f191d1d8b098b7a0d6e31a0 Mon Sep 17 00:00:00 2001 From: George Aidins Date: Sun, 23 Jun 2024 23:35:04 +0200 Subject: [PATCH 2/2] Removed index from csv when saving the results of test application --- spare_scores/util.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spare_scores/util.py b/spare_scores/util.py index c79613d..8203398 100644 --- a/spare_scores/util.py +++ b/spare_scores/util.py @@ -61,7 +61,7 @@ def save_file(result, output, action, logger): if action == 'test': try: - result.to_csv(output) + result.to_csv(output, index = False) except Exception as e: logger.info(e)