|
13 | 13 | }, |
14 | 14 | { |
15 | 15 | "cell_type": "code", |
16 | | - "execution_count": null, |
| 16 | + "execution_count": 1, |
17 | 17 | "id": "f305fea5", |
18 | 18 | "metadata": {}, |
19 | 19 | "outputs": [], |
|
23 | 23 | }, |
24 | 24 | { |
25 | 25 | "cell_type": "code", |
26 | | - "execution_count": null, |
| 26 | + "execution_count": 2, |
27 | 27 | "id": "6899a335", |
28 | 28 | "metadata": {}, |
29 | 29 | "outputs": [], |
|
45 | 45 | }, |
46 | 46 | { |
47 | 47 | "cell_type": "code", |
48 | | - "execution_count": null, |
| 48 | + "execution_count": 3, |
49 | 49 | "id": "32c11e55", |
50 | 50 | "metadata": {}, |
51 | 51 | "outputs": [], |
|
56 | 56 | }, |
57 | 57 | { |
58 | 58 | "cell_type": "code", |
59 | | - "execution_count": null, |
| 59 | + "execution_count": 4, |
60 | 60 | "id": "65766a33", |
61 | 61 | "metadata": {}, |
62 | 62 | "outputs": [], |
|
79 | 79 | }, |
80 | 80 | { |
81 | 81 | "cell_type": "code", |
82 | | - "execution_count": null, |
| 82 | + "execution_count": 5, |
83 | 83 | "id": "abc3835a", |
84 | 84 | "metadata": {}, |
85 | 85 | "outputs": [], |
|
104 | 104 | }, |
105 | 105 | { |
106 | 106 | "cell_type": "code", |
107 | | - "execution_count": null, |
| 107 | + "execution_count": 6, |
108 | 108 | "id": "8b3b08f7", |
109 | 109 | "metadata": {}, |
110 | 110 | "outputs": [], |
|
120 | 120 | }, |
121 | 121 | { |
122 | 122 | "cell_type": "code", |
123 | | - "execution_count": null, |
| 123 | + "execution_count": 7, |
124 | 124 | "id": "14463227", |
125 | 125 | "metadata": {}, |
126 | 126 | "outputs": [], |
|
146 | 146 | " chk_mtime = max(cfg.config_file.stat().st_mtime, Path(__file__).stat().st_mtime)\n", |
147 | 147 | " cache.mkdir(parents=True, exist_ok=True)\n", |
148 | 148 | " cache_mtime = cache.stat().st_mtime\n", |
149 | | - " if force or (cache.exists and cache_mtime<chk_mtime): rmtree(cache)\n", |
| 149 | + " if force or (cache.exists() and cache_mtime<chk_mtime): rmtree(cache)\n", |
150 | 150 | "\n", |
151 | 151 | " files = files.map(_proc_file, mtime=cache_mtime, cache=cache, path=path).filter()\n", |
152 | 152 | " kw = {} if IN_NOTEBOOK else {'method':'spawn'}\n", |
|
157 | 157 | }, |
158 | 158 | { |
159 | 159 | "cell_type": "code", |
160 | | - "execution_count": null, |
| 160 | + "execution_count": 8, |
161 | 161 | "id": "1745c2c3", |
162 | 162 | "metadata": {}, |
163 | 163 | "outputs": [], |
|
176 | 176 | }, |
177 | 177 | { |
178 | 178 | "cell_type": "code", |
179 | | - "execution_count": null, |
| 179 | + "execution_count": 9, |
180 | 180 | "id": "04dd6d30", |
181 | 181 | "metadata": {}, |
182 | 182 | "outputs": [], |
|
196 | 196 | ], |
197 | 197 | "metadata": { |
198 | 198 | "kernelspec": { |
199 | | - "display_name": "python3", |
| 199 | + "display_name": "Python 3 (ipykernel)", |
200 | 200 | "language": "python", |
201 | 201 | "name": "python3" |
| 202 | + }, |
| 203 | + "language_info": { |
| 204 | + "codemirror_mode": { |
| 205 | + "name": "ipython", |
| 206 | + "version": 3 |
| 207 | + }, |
| 208 | + "file_extension": ".py", |
| 209 | + "mimetype": "text/x-python", |
| 210 | + "name": "python", |
| 211 | + "nbconvert_exporter": "python", |
| 212 | + "pygments_lexer": "ipython3", |
| 213 | + "version": "3.10.12" |
202 | 214 | } |
203 | 215 | }, |
204 | 216 | "nbformat": 4, |
|
0 commit comments