Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unit test (part 2) #168

Merged
merged 126 commits into from
Jan 22, 2025
Merged

Conversation

guillaumegrolleron
Copy link
Contributor

@guillaumegrolleron guillaumegrolleron commented Jan 17, 2025

This PR is the follow-up of the PR #163.

Unit tests are implemented for all the component module and SPE calibration makers

guillaume.grolleron added 30 commits June 23, 2024 15:55
ds to find computed calibration quatities
…anted one

-update pp and n values to last studies
-display wfs -> mean instead of sum
-Agg backend is not forced in Pstat calibnration
exluse user_scripts to pytest
improvement split_run method
@guillaumegrolleron
Copy link
Contributor Author

Hi @jlenain

It was a mess but I actually found a solution :

  • for Ubuntu :
  1. the freeglut3-dev package have to be installed in the CI
  2. the Xvfb package to run a X11 server
  • For macOS it is more complex : for a strange reason we do not face X11 error, however PyQt5 is not working well on macOS, then I changed the version to PyQt6. The installation is done through pip, but, we also need to install with brew the pyqt6 package to fix the dynamic library (like freeglut3 on Ubuntu) and to manually set the environment variable DYLD_FRAMEWORK_PATH. Moreover, we still need to install pyqt with mamba. It does not give any sense for me but it works...

I'll fix in a upcoming PR the PyQt5 dependencies in the TRR_suite

@jlenain
Copy link
Collaborator

jlenain commented Jan 22, 2025

OK, thanks a lot, @guillaumegrolleron , what a journey! I'll have a look at the rest of the changes, but a first pass already looked good to me. Final review coming ASAP.

Copy link
Collaborator

@jlenain jlenain left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Many many thanks, @guillaumegrolleron ! Tested, working & approved !

@jlenain jlenain merged commit def9cfc into cta-observatory:main Jan 22, 2025
11 checks passed
@jlenain jlenain deleted the dev_test_doc_2 branch January 22, 2025 14:08
jlenain added a commit to ArmelleJB/nectarchain that referenced this pull request Jan 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants