|
19 | 19 | "__Date: 21/02/2025__" |
20 | 20 | ] |
21 | 21 | }, |
22 | | - { |
23 | | - "cell_type": "code", |
24 | | - "execution_count": null, |
25 | | - "id": "ee3ddc28", |
26 | | - "metadata": { |
27 | | - "papermill": { |
28 | | - "duration": 0.017851, |
29 | | - "end_time": "2025-02-17T13:42:50.853074", |
30 | | - "exception": false, |
31 | | - "start_time": "2025-02-17T13:42:50.835223", |
32 | | - "status": "completed" |
33 | | - }, |
34 | | - "tags": [] |
35 | | - }, |
36 | | - "outputs": [], |
37 | | - "source": [ |
38 | | - "exec(open('/data/id11/nanoscope/install_ImageD11_from_git.py').read())" |
39 | | - ] |
40 | | - }, |
41 | 22 | { |
42 | 23 | "cell_type": "code", |
43 | 24 | "execution_count": null, |
|
59 | 40 | "# this cell is tagged with 'parameters'\n", |
60 | 41 | "# to view the tag, select the cell, then find the settings gear icon (right or left sidebar) and look for Cell Tags\n", |
61 | 42 | "\n", |
62 | | - "PYTHONPATH = setup_ImageD11_from_git( ) # ( os.path.join( os.environ['HOME'],'Code'), 'ImageD11_git' )\n", |
| 43 | + "# python environment stuff\n", |
| 44 | + "IMAGED11_PATH = None # means do not use git, otherwise \"ImageD11\" or \"ImageD11_version_xx\", etc\n", |
| 45 | + "CHECKOUT_PATH = None # None means guess, or you can specify a folder for the checkout\n", |
63 | 46 | "\n", |
64 | 47 | "dset_path = ''\n", |
65 | 48 | "\n", |
|
70 | 53 | "dset_prefix = \"ff\"" |
71 | 54 | ] |
72 | 55 | }, |
| 56 | + { |
| 57 | + "cell_type": "code", |
| 58 | + "execution_count": null, |
| 59 | + "id": "ee3ddc28", |
| 60 | + "metadata": { |
| 61 | + "papermill": { |
| 62 | + "duration": 0.017851, |
| 63 | + "end_time": "2025-02-17T13:42:50.853074", |
| 64 | + "exception": false, |
| 65 | + "start_time": "2025-02-17T13:42:50.835223", |
| 66 | + "status": "completed" |
| 67 | + }, |
| 68 | + "tags": [] |
| 69 | + }, |
| 70 | + "outputs": [], |
| 71 | + "source": [ |
| 72 | + "if IMAGED11_PATH is not None:\n", |
| 73 | + " exec(open('/data/id11/nanoscope/install_ImageD11_from_git.py').read())\n", |
| 74 | + " setup_ImageD11_from_git(CHECKOUT_PATH, IMAGED11_PATH)" |
| 75 | + ] |
| 76 | + }, |
73 | 77 | { |
74 | 78 | "cell_type": "code", |
75 | 79 | "execution_count": null, |
|
684 | 688 | "name": "python", |
685 | 689 | "nbconvert_exporter": "python", |
686 | 690 | "pygments_lexer": "ipython3", |
687 | | - "version": "3.11.6" |
| 691 | + "version": "3.12.9" |
688 | 692 | }, |
689 | 693 | "papermill": { |
690 | 694 | "default_parameters": {}, |
|
0 commit comments