mne-python icon indicating copy to clipboard operation
mne-python copied to clipboard

Spacing Argument Consistency

Open christianbrodbeck opened this issue 13 years ago • 8 comments

Now it seems that setup_source_space requires an argument like spacing="ico4" whereas do_forward_solution requires spacing="ico-4". Would it make sense to unify those? I could add to do_forward_solution the capability to interpret "ico4".

christianbrodbeck avatar Sep 16 '13 01:09 christianbrodbeck

I think it would be good to unify them, and I prefer the one without hyphens, i.e. ico4. Should probably wait to see what others think...

larsoner avatar Sep 16 '13 03:09 larsoner

I definitely prefer the file names to have the hyphen for backward compatibility.

  • Matti

On Sep 15, 2013, at 11:06 PM, Eric89GXL [email protected] wrote:

I think it would be good to unify them, and I prefer the one without hyphens, i.e. ico4. Should probably wait to see what others think...

— Reply to this email directly or view it on GitHub.

The information in this e-mail is intended only for the person to whom it is addressed. If you believe this e-mail was sent to you in error and the e-mail contains patient information, please contact the Partners Compliance HelpLine at http://www.partners.org/complianceline . If the e-mail was sent to you in error but does not contain patient information, please contact the sender and properly dispose of the e-mail.

mshamalainen avatar Sep 16 '13 03:09 mshamalainen

Yes I would only modify the Python argument values, not the filenames

christianbrodbeck avatar Sep 16 '13 03:09 christianbrodbeck

+1 for keeping hyphen in fnames. But I prefer the python param to be oct6 rather than oct-6. Otherwise we would just pass "7" for a 7 mm spacing which is not explicit.

agramfort avatar Sep 16 '13 07:09 agramfort

@christianmbrodbeck you probably wait for #776 to be merged. I set this as 0.7 milestone.

dengemann avatar Oct 13 '13 09:10 dengemann

ok

christianbrodbeck avatar Oct 15 '13 04:10 christianbrodbeck

@christianmbrodbeck what's the status here? Looks like low hanging fruit.

dengemann avatar Oct 27 '13 11:10 dengemann

closing for https://github.com/mne-tools/mne-python/pull/861

christianbrodbeck avatar Oct 29 '13 21:10 christianbrodbeck