Skip to content

NOTICE.txt and README omit several non-BSD licensed files (incl. two CC BY-NC models) #1140

Closed

Description

@bruAristimunha

Summary

NOTICE.txt lists exactly two files under "CC BY-NC 4.0 Licensed Files" (eegminer.py, meta_neuromotor.py), and README.rst names only "Creative Commons Attribution-NonCommercial 4.0 International" under Additional Components. Several other files in the tree carry non-BSD licenses in their own headers and appear in neither.

A redistributor reading LICENSE + NOTICE.txt — the documented place to look — would not learn that these files exist or that noncommercial terms attach to some of them.

Files with a non-BSD # License: header that are absent from NOTICE.txt

Noncommercial (the ones that actually matter):

  • braindecode/models/emg2qwerty.py — Creative Commons Attribution-NonCommercial 4.0 International
  • braindecode/models/brainmodule.py — Attribution-NonCommercial 4.0 International

Permissive but still not BSD-3:

  • braindecode/models/ctnet.py — MIT
  • braindecode/models/dance.py — MIT
  • braindecode/models/medformer.py — MIT
  • braindecode/models/tcformer.py — MIT
  • braindecode/models/mvpformer.py — Apache-2.0
  • braindecode/models/zuna.py — Apache-2.0

Reproduce:

for f in braindecode/models/*.py; do
  L=$(sed -n '1,25p' "$f" | grep -m1 -E "^#\s*License:" | sed 's/^#\s*License:\s*//')
  case "$L" in ""|BSD*|bsd*) ;; *) grep -q "$(basename $f)" NOTICE.txt || echo "$f -> $L";; esac
done

Suggested fix

  • Add emg2qwerty.py and brainmodule.py to the existing CC BY-NC 4.0 section of NOTICE.txt, with the same derivative-provenance wording already used for meta_neuromotor.py.
  • Add MIT and Apache-2.0 sections listing the remaining files, plus their license links.
  • Extend the README.rst "Additional Components" paragraph so the licenses it names match what NOTICE.txt lists.

A small test that every non-BSD # License: header has a matching NOTICE.txt entry would keep this from drifting again as models are added.

Activity

  1. bruAristimunha commented on Aug 27, 2026

    @bruAristimunha
    CollaboratorAuthor

    emg2qwerty.py belongs under ShareAlike, not CC BY-NC 4.0

    Relevant to how the sections in NOTICE.txt should be organised. I cloned facebookresearch/emg2qwerty and read its LICENSE: it is Attribution-NonCommercial-ShareAlike 4.0 International, not CC BY-NC 4.0 as braindecode/models/emg2qwerty.py currently claims in its header.

    So adding emg2qwerty.py to the existing "CC BY-NC 4.0 Licensed Files" section would propagate the error. It needs a CC BY-NC-SA 4.0 section — the same one vemg2pose.py needs.

    Verified positions for the Meta-derived files:

    File Upstream Upstream LICENSE (read from clone)
    meta_neuromotor.py facebookresearch/generic-neuromotor-interface CC BY-NC 4.0 — current claim correct
    emg2qwerty.py facebookresearch/emg2qwerty CC BY-NC-SA 4.0 — current claim understates it
    vemg2pose.py (pending) facebookresearch/emg2pose CC BY-NC-SA 4.0

    brainmodule.py and eegminer.py also need placing; their own headers claim CC BY-NC 4.0 and I have not yet traced them to a cloneable upstream, so those two should be confirmed by whoever added them before being listed.

    Details and the header/license= side of the same correction are in #1139.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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