Skip to content
This repository has been archived by the owner on Oct 16, 2024. It is now read-only.

Commit

Permalink
debug tests and lgs
Browse files Browse the repository at this point in the history
  • Loading branch information
a-sevin committed Dec 15, 2023
1 parent dd4cca2 commit 29c2303
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 6 deletions.
12 changes: 8 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "shesha"
version = "5.5.0-0"
version = "5.5.0-3"
description = "SHESHA is the python part of the COMPASS platform designed to meet the need of high-performance for the simulation of AO systems"
authors = [
"Florian Ferreira <florian.ferreira@obspm.fr>",
Expand All @@ -16,10 +16,14 @@ readme = "README.md"
repository = "https://github.com/ANR-COMPASS/shesha"
documentation = "https://shesha.readthedocs.io/en/master/"
packages = [
{ include = "data" },
{ include = "shesha" },
{ include = "CHANGELOG.md" },
{ include = "report_E2E.md" },
{ include = "data" },
{ include = "tests" },
]

include = [
{ path = "CHANGELOG.md" },
{ path = "report_E2E.md" },
]

[tool.poetry.dependencies]
Expand Down
2 changes: 1 addition & 1 deletion shesha/init/lgs_init.py
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ def prep_lgs_prof(p_wfs: conf.ParamWfs, nsensors: int, p_tel: conf.ParamTel,

profilename = scons.ProfType.FILES[p_wfs.proftype]

profile_path = shesha_savepath + profilename
profile_path = f"{shesha_savepath}/{profilename}"
print("reading Na profile from", profile_path)
prof = np.load(profile_path)
make_lgs_prof1d(p_wfs, p_tel, np.mean(prof[1:, :], axis=0), prof[0, :],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@

precision = 1e-2

config = ParamConfig(os.path.dirname(__file__) + "/../par/test_pyrhr.py")
config = ParamConfig(os.path.dirname(__file__) + "/../../par/test_pyrhr.py")
sup = Supervisor(config)
sup.next()
sup.rtc.open_loop(0)
Expand Down

0 comments on commit 29c2303

Please sign in to comment.