Skip to content

Commit

Permalink
Merge pull request #14 from georgeaidinis/main
Browse files Browse the repository at this point in the history
Updated version, entrypoint commands
  • Loading branch information
AlexanderGetka-cbica authored Jun 24, 2024
2 parents 0157f42 + f3b8def commit 8e4ad14
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[build-system]
requires = [
"setuptools>=54",
"setuptools",
"wheel"
]
build-backend = "setuptools.build_meta"
6 changes: 4 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand All @@ -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"]
},
)
2 changes: 1 addition & 1 deletion spare_scores/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 8e4ad14

Please sign in to comment.