Skip to content

Commit

Permalink
Added logging for config file save path
Browse files Browse the repository at this point in the history
  • Loading branch information
dgarijo committed Jan 6, 2023
1 parent 0fbe8e2 commit e288f28
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ requires = [
"scipy>=1.7.1",
"inflect>=5.4.0",
"contractions>=0.1.66",
"imblearn>=0.0"
"imblearn>=0.0",
"morph-kgc"
]
build-backend = "setuptools.build_meta"
2 changes: 2 additions & 0 deletions src/somef/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
from pathlib import Path
import json
import sys
import logging

from .utils import constants

Expand Down Expand Up @@ -83,3 +84,4 @@ def configure(authorization="",
credentials_file.parent.chmod(0o700)
credentials_file.chmod(0o600)
json.dump(data, fh)
logging.info("Configuration file saved at "+os.path.dirname(credentials_file))

0 comments on commit e288f28

Please sign in to comment.