simonsobs / simonsobs/sotodlib

Investigate why channel assignments made outside session

Open
#836 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Data Packaging
Dominant language
Python
Stars
19
Forks
23
Avg merge
1d 5h
Merged PRs (30d)
14

Description

Noticed in LAT database. Might be related to some other failed books, need to understand where this comes from.

 0%|          | 0/2 [00:00<?, ?it/s]/usr/local/lib/python3.10/site-packages/sotodlib/io/load_smurf.py:708: SAWarning: Object of type <Channels> not in session, add operation along 'ChanAssignments.channels' will not proceed (This warning originated from the Session 'autoflush' process, which was invoked automatically in response to a user-initiated operation.)
  .one_or_none()

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at sotodlib/io/load_smurf.py:708 and trace the query that emits the SAWarning about Channels and ChanAssignments outside the Session. Reproduce the LAT database case and inspect the related failed books to determine where the assignment is introduced. Done means the source is identified and a corrective path is documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
databases
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.