Open Lyueyang2020 opened 2 weeks ago
And I don't know what this paragraph means, could you explain it in detail? Thank you
## If you're done with diffusion and happy with the outputs then mark it as done
DIFFUSION_DIR = f"{WDIR}/0_diffusion"
os.chdir(DIFFUSION_DIR)
if not os.path.exists(DIFFUSION_DIR+"/.done"):
with open(f"{DIFFUSION_DIR}/.done", "w") as file:
file.write(f"Run user: {username}\n")
Thank you for giving it a shot! The "number of prcesses" error is a result of me doing a silly assumption on line 841 of the "process_diffusion_outputs.py" script. I fixed that issue and uploaded it.
Presumably this would also fix the "FileNotFoundError", which I assume arose from the fact that the analsyis script didn't produce an outputfile, and then the next command in the cell couldn't find the expected input.
And I don't know what this paragraph means, could you explain it in detail? Thank you
## If you're done with diffusion and happy with the outputs then mark it as done DIFFUSION_DIR = f"{WDIR}/0_diffusion" os.chdir(DIFFUSION_DIR) if not os.path.exists(DIFFUSION_DIR+"/.done"): with open(f"{DIFFUSION_DIR}/.done", "w") as file: file.write(f"Run user: {username}\n")
The purpose of this kind of cell was to just create a file in the the run-directory of each step to indicate that this step is finished. If you end up reloading that notebook repeatedly and re-run the cells from the top then it would skip over these computationally expensive steps. For instance, if you're at step 3, and the notebook closed for some reason, then re-running the "Step 0" cell wouldn't just go and re-run the whole diffusion job, if it's marked as "done". I know it's not the most elegant implementation, but it get's the job done I suppose.
Hello, I am using your pipeline to design hemoglobin binding protein. When I run the code segment "Analyzing diffusion outputs," I encounter the following error. Thank you very much for your help.