Skip to content
This repository was archived by the owner on May 19, 2025. It is now read-only.
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

@camurria

Description

@camurria

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-py39 the user gets a warning coming from UserWarning: Wswiglal-redir-stdio when importing gwpy. 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-py39 the user gets a warning coming from pandas

Typos:

  • Tutorial 3.2: In the first line with pip install lalsuite= ->lalsuite==

Conflict with packages versions:

  • The last version of igwn-py39 uses lalsuite=7.21 while at the top of the tutorials of Day_3 it is suggested to install lalsuite=7.22. I'd recommend to follow igwn-py39 current versions.
  • the file environment.yml used 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 update environment.yml and create a new environment but if we use lalsuite=7.22 it 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 notebook after installing the environment igwn-py39. It seems related to the use of firefox as browser. A possible solution is to install jupytext and nbclassic and clear the cache

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions