Skip to content

Commit

Permalink
Defines get inst full name in sim mode
Browse files Browse the repository at this point in the history
  • Loading branch information
jackbdoughty committed Jan 3, 2025
1 parent 90e6b3a commit 5f8eb0c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/genie_python/genie_simulate_impl.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
from builtins import object, str
from collections import OrderedDict
from typing import TYPE_CHECKING, Callable
import socket

import numpy as np
import numpy.typing as npt
Expand Down Expand Up @@ -1263,3 +1264,6 @@ def get_alarm_from_block(self, block: str) -> str:

def get_block_units(self, block: str) -> str:
return "mm"

def get_instrument_full_name(self) -> str:
return socket.gethostname()

0 comments on commit 5f8eb0c

Please sign in to comment.