This repository was archived by the owner on May 19, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 29
This repository was archived by the owner on May 19, 2025. It is now read-only.
Note on typos and problems with the tutorials to be modified #9
Copy link
Copy link
Open
Description
This note is to keep track of the typos/errors/warnings in the tutorials.
Warnings (no action needed, they can be ignored, just taking notes in case students ask):
- Tutorial 1.2 (and all the others that import gwpy): running with a local installation of the updated
igwn-py39the user gets a warning coming fromUserWarning: Wswiglal-redir-stdiowhen importinggwpy. To avoid the warning it can be disabled with
import warnings
warnings.filterwarnings("ignore", "Wswiglal-redir-stdio")
or
import lal
lal.swig_redirect_standard_output_error(True)
- Tutorials that import pycbc: using a local installation of the environment with pycbc 2.4.0, Windows user report the following warning:
libkmod: ERROR ../libkmod/libkmod-module.c:1668 kmod_module_new_from_loaded: could not open /proc/modules: No such file or directory
Error: could not get list of modules: No such file or directory
- Tutorial 3.1: running with a local installation of the updated
igwn-py39the user gets a warning coming frompandas
Typos:
- Tutorial 3.2: In the first line with pip install
lalsuite=->lalsuite==
Conflict with packages versions:
- The last version of
igwn-py39useslalsuite=7.21while at the top of the tutorials ofDay_3it is suggested to installlalsuite=7.22. I'd recommend to follow igwn-py39 current versions. - the file
environment.ymlused for the light-weight conda installation (see step 3 of the Setup instructions) contains still the versions used in 2023 of all the packages and it needs to be aligned with the tutorials. As a note, we have tried to updateenvironment.ymland create a new environment but if we uselalsuite=7.22it would create a conflict and make the packages installation impossible. - The extension_topic tutorials require packages not included in igwn-py39, probably we can leave the setup instructions as they are and just be aware that the students need to add some of the packages if they want to run the additional tutorials.
- Some mentors have got errors when running
jupyter notebookafter installing the environmentigwn-py39. It seems related to the use of firefox as browser. A possible solution is to installjupytextandnbclassicand clear the cache
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels