Skip to content

Commit

Permalink
Merge pull request #641 from KnowledgeCaptureAndDiscovery/SOMEF-639_h…
Browse files Browse the repository at this point in the history
…ardcoded-config-paths

SOMEF-639: Replace hardcoded config paths
  • Loading branch information
dgarijo authored May 15, 2024
2 parents b2ac423 + ae22a46 commit 7df21d5
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions src/somef/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@
from .utils import constants

path = Path(__file__).parent.absolute()
default_description = str(path) + "/models/description.p"
default_invocation = str(path) + "/models/invocation.p"
default_installation = str(path) + "/models/installation.p"
default_citation = str(path) + "/models/citation.p"
default_description = os.path.join(str(path), "models", "description.p")
default_invocation = os.path.join(str(path), "models", "invocation.p")
default_installation = os.path.join(str(path), "models", "installation.p")
default_citation = os.path.join(str(path), "models", "citation.p")


def get_configuration_file():
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ coverage
flake8
doctest-ignore-unicode==0.1.2
berkeleydb
black==21.6b0
black==24.3.0
flake8-black
mypy
types-setuptools
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"nose==1.3.7",
"nose-timer",
"coverage",
"black==21.6b0",
"black==24.3.0",
"flake8",
"doctest-ignore-unicode==0.1.2",
]
Expand Down

0 comments on commit 7df21d5

Please sign in to comment.