diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index ee0ebaef..b308c3ab 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -32,5 +32,9 @@ } } } - } + + }, + "features": { + "ghcr.io/devcontainers/features/github-cli:1": {} + } } diff --git a/pyscope/observatory/simulator_server.py b/pyscope/observatory/simulator_server.py index 86cf3fcf..16c4e66d 100644 --- a/pyscope/observatory/simulator_server.py +++ b/pyscope/observatory/simulator_server.py @@ -60,6 +60,14 @@ def __init__(self): stdout=subprocess.DEVNULL, shell=True, ) + elif platform.system() == "Linux": + self.process = subprocess.Popen( + ("sudo " + dirname + "/ascom.alpaca.simulators"), + start_new_session=True, + stderr=subprocess.DEVNULL, + stdout=subprocess.DEVNULL, + shell=True, + ) else: self.process = subprocess.Popen( (dirname + "/ascom.alpaca.simulators"), diff --git a/pyscope/reduction/calib_images.py b/pyscope/reduction/calib_images.py index 84ddd6ba..daa737f2 100644 --- a/pyscope/reduction/calib_images.py +++ b/pyscope/reduction/calib_images.py @@ -11,6 +11,7 @@ from ..observatory import AstrometryNetWCS from .ccd_calib import ccd_calib + logger = logging.getLogger(__name__)