r"""Write to disk as FreeSurfer \*.label file. Parameters ---------- filename : path-like Path to label file to produce. Notes ----- Note that due to file specification limitations, the Label's subject and color attributes are not
(self, filename)
| 429 | ) |
| 430 | |
| 431 | def save(self, filename): |
| 432 | r"""Write to disk as FreeSurfer \*.label file. |
| 433 | |
| 434 | Parameters |
| 435 | ---------- |
| 436 | filename : path-like |
| 437 | Path to label file to produce. |
| 438 | |
| 439 | Notes |
| 440 | ----- |
| 441 | Note that due to file specification limitations, the Label's subject |
| 442 | and color attributes are not saved to disk. |
| 443 | """ |
| 444 | write_label(filename, self) |
| 445 | |
| 446 | def copy(self): |
| 447 | """Copy the label instance. |
no test coverage detected