(self, x)
| 64 | splinter._call(splinter._get_handle().splinter_bspline_save, self._handle, get_c_string(filename)) |
| 65 | |
| 66 | def _transform_input(self, x): |
| 67 | if isinstance(x, np.ndarray): |
| 68 | x = x.tolist() |
| 69 | |
| 70 | if not isinstance(x, list): |
| 71 | x = [x] |
| 72 | |
| 73 | # See if x is on the form [[x0,x1],[x2,x3]] |
| 74 | # if not we assume it to be on the form |
| 75 | # [x0, x1, x2, x3] |
| 76 | if isinstance(x[0], list): |
| 77 | x = flatten_list(x) |
| 78 | |
| 79 | return x |
| 80 | |
| 81 | |
| 82 | def __del__(self): |
no test coverage detected