Skip to content

Commit

Permalink
fix #70 (#72)
Browse files Browse the repository at this point in the history
  • Loading branch information
hcwinsemius authored Jun 14, 2024
1 parent 732e733 commit 4ad642a
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 12 deletions.
10 changes: 1 addition & 9 deletions nodeorc/__init__.py
Original file line number Diff line number Diff line change
@@ -1,17 +1,9 @@
"""NodeORC: Automated edge and cloud image-based discharge estimation with OpenRiverCam"""
import os
__version__ = "0.1.7"
__version__ = "0.1.8"

__home__ = os.path.join(os.path.expanduser("~"), ".nodeorc")
if not(os.path.isdir(__home__)):
os.makedirs(__home__)

settings_path = os.path.join(os.getcwd(), "settings")

from . import tasks
from . import log
from . import models
from . import callbacks
from . import disk_mng
from . import db
from . import config
1 change: 0 additions & 1 deletion nodeorc/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
import json
import os

# import nodeorc
from pydantic import ValidationError
from dotenv import load_dotenv
# import tasks
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ dependencies = [
"ibm-cos-sdk",
"pika",
"pydantic==2.3.0",
"pyopenrivercam",
"pyopenrivercam==0.5.5",
"python-dotenv",
"requests",
"sqlalchemy"
Expand Down
2 changes: 1 addition & 1 deletion setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -471,7 +471,7 @@ After=network.target
User=${USER}
WorkingDirectory=${PWD}
Environment="PATH=${HOME}/venv/nodeorc/bin"
ExecStart=${HOME}/venv/nodeorc/bin/nodeorc start --storage local --listen local
ExecStart=${HOME}/venv/nodeorc/bin/nodeorc start
Restart=always
[Install]
Expand Down

0 comments on commit 4ad642a

Please sign in to comment.