Skip to content

Commit

Permalink
remove use of deprecated NodeId class
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanpdx committed Apr 28, 2024
1 parent f1b3998 commit 53478b1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions oresat_cfc/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
import os

from olaf import app, olaf_run, olaf_setup, render_olaf_template, rest_api
from oresat_configs import NodeId

from . import __version__
from .drivers.pirt1280 import Pirt1280
Expand All @@ -29,7 +28,7 @@ def main():

path = os.path.dirname(os.path.abspath(__file__))

args, _ = olaf_setup(NodeId.CFC)
args, _ = olaf_setup("cfc_processor")
mock_args = [i.lower() for i in args.mock_hw]
mock_camera = "camera" in mock_args or "all" in mock_args
mock_tec = "tec" in mock_args or "all" in mock_args
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ dependencies = [
"numpy",
"opencv-python-headless==4.6.0.66",
"oresat-configs",
"oresat-olaf>=3.0.0",
"oresat-olaf>=3.4.0",
"simple-pid",
"spidev",
"tifffile",
Expand Down

0 comments on commit 53478b1

Please sign in to comment.