Commit 32e0cc9
Fix/ wrong if in self.directory (#680)
* Fixed a wrong if comparison.
Added setter and getter to ``self.directory``.
Added also a wrapper to `CWD` so it will show a warning when the directory we are changing to does not exist.
* Added test case for mapdl.cwd and mapdl.directory
* Apply suggestions from code review
Co-authored-by: Alex Kaszynski <[email protected]>
* Added example to docstring.
* Grammar fix.
Co-authored-by: Alex Kaszynski <[email protected]>1 parent 3a30f4d commit 32e0cc9
2 files changed
+40
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
| 16 | + | |
15 | 17 | | |
16 | 18 | | |
17 | 19 | | |
| |||
2248 | 2250 | | |
2249 | 2251 | | |
2250 | 2252 | | |
| 2253 | + | |
| 2254 | + | |
| 2255 | + | |
| 2256 | + | |
| 2257 | + | |
| 2258 | + | |
| 2259 | + | |
| 2260 | + | |
2251 | 2261 | | |
2252 | 2262 | | |
2253 | 2263 | | |
| |||
2256 | 2266 | | |
2257 | 2267 | | |
2258 | 2268 | | |
2259 | | - | |
| 2269 | + | |
2260 | 2270 | | |
2261 | 2271 | | |
2262 | 2272 | | |
2263 | 2273 | | |
2264 | 2274 | | |
| 2275 | + | |
| 2276 | + | |
| 2277 | + | |
| 2278 | + | |
| 2279 | + | |
| 2280 | + | |
2265 | 2281 | | |
2266 | 2282 | | |
2267 | 2283 | | |
| |||
2473 | 2489 | | |
2474 | 2490 | | |
2475 | 2491 | | |
| 2492 | + | |
| 2493 | + | |
| 2494 | + | |
| 2495 | + | |
| 2496 | + | |
| 2497 | + | |
| 2498 | + | |
| 2499 | + | |
| 2500 | + | |
| 2501 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
873 | 873 | | |
874 | 874 | | |
875 | 875 | | |
| 876 | + | |
| 877 | + | |
| 878 | + | |
| 879 | + | |
| 880 | + | |
| 881 | + | |
| 882 | + | |
| 883 | + | |
| 884 | + | |
| 885 | + | |
| 886 | + | |
| 887 | + | |
| 888 | + | |
0 commit comments