You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: examples/science/af3-slurm/examples/simple_ipynb_launcher/Ipynb.md
+11-4Lines changed: 11 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,22 +6,29 @@ Begin by uploading your input JSON file, which contains the data required by Alp
6
6
7
7
<imgsrc="adm/upload_file.png"alt="try to upload file under the alphafold folder"width="400">
8
8
9
-
When specifying the input file name (e.g., `fold_input.json`) during the configuration of your data pipeline or inference, it's crucial to reference the correct **relative file path**. Your files should be organized like this:
9
+
Ensure your input JSON file is placed in the correct location **relative to your Jupyter Notebook file**. Your project directory should be structured like this:
10
10
11
11
```code
12
12
alphafold/
13
-
├── <your_input_file>.json
13
+
├── <uploaded_file>.json
14
+
├── fold_input.json # Example input file (provided)
14
15
└── slurm-rest-api-notebook.ipynb
15
16
```
16
17
17
-
The input JSONfile should be in the `alphafold` folder.
18
+
When configuring your data pipeline or inference process, use the correct **relative file path to reference the input JSON**. We provide an example input file of data pipeline process named `fold_input.json` to help you get started quickly.
18
19
19
-
Usage:
20
+
Since both the notebook and the input file are in the same directory (`alphafold/`), you can specify the file like this in your notebook code:
20
21
21
22
```python
22
23
input_file="fold_input.json"
23
24
```
24
25
26
+
If you're uploading your own file, simply replace the `input_file` variable with the name of your uploaded file:
27
+
28
+
```python
29
+
input_file ="<uploaded_file>.json"
30
+
```
31
+
25
32
**2. Running the Setup Cells (including System Configuration and SLURM Initialization):**
26
33
27
34
Once the input file is uploaded, execute all the cells in the notebook that are responsible for setting up the environment, installing dependencies, and loading necessary functions. Ensure all these setup cells run without errors before proceeding to the next section.
0 commit comments