# RuntimeWarning: DigMontage is only a subset of info. There are 22 channel positions not present in the DigMontage.

**URL:** <https://mne.discourse.group/t/runtimewarning-digmontage-is-only-a-subset-of-info-there-are-22-channel-positions-not-present-in-the-digmontage/6061>\
**Category:** Support & Discussions\
**Created:** [December 13, 2022, 7:55am UTC](https://mne.discourse.group/t/runtimewarning-digmontage-is-only-a-subset-of-info-there-are-22-channel-positions-not-present-in-the-digmontage/6061 "2022-12-13T07:55:40Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![arijit\_diganto](https://avatars.discourse-cdn.com/v4/letter/a/d07c76/32.png) [@arijit\_diganto](https://mne.discourse.group/u/arijit_diganto)\
**Post date:** [December 13, 2022, 7:55am UTC](https://mne.discourse.group/t/runtimewarning-digmontage-is-only-a-subset-of-info-there-are-22-channel-positions-not-present-in-the-digmontage/6061/1 "2022-12-13T07:55:40Z")

</div>

![ch names](https://global.discourse-cdn.com/free1/uploads/mne/original/2X/a/aaf1a15ddd7730133f2b206308f60a27d30cb70f.jpeg)  
 ![er](https://global.discourse-cdn.com/free1/uploads/mne/original/2X/2/2a9712ce5f2b790dfe532db6a45f8c7336f95dce.jpeg)

the channels are already present in the edf files, but i cant set the montage, i cant understand what is the problem. can someone help me

---

<div class="post-metadata">

**Author:** ![mscheltienne](https://yyz2.discourse-cdn.com/free1/user_avatar/mne.discourse.group/mscheltienne/32/827_2.png) [@mscheltienne](https://mne.discourse.group/u/mscheltienne)\
**Post date:** [December 13, 2022, 2:30pm UTC](https://mne.discourse.group/t/runtimewarning-digmontage-is-only-a-subset-of-info-there-are-22-channel-positions-not-present-in-the-digmontage/6061/2 "2022-12-13T14:30:14Z")

</div>

Hello,

First of all, please don’t post screenshots as they can be difficult to work with depending on the device on which we read the post. Please prefer copy/paste code and traceback that you can format like `this`.

Those channel names are non-standard. When you create the montage with `mne.channels.make_standard_montage`, it uses the channel names to match the location of the channels in your data to the template.

```python
montage = mne.channels.make_standard_montage("standard_1020")
print (montage.ch_names)

```

Outputs the names in the template:

```python
['Fp1',
 'Fpz',
...

```

Which do not correspond to the names in your Raw.

I would suggest you start by re-naming your channels to the conventional names with `raw.rename_chanels`, and then set a standard montage with `raw.set_montage`.

Mathieu
