Skip to content

Commit

Permalink
bfactor_plot.py: support RELION 4.0's new pipeliner STAR files
Browse files Browse the repository at this point in the history
  • Loading branch information
biochem-fan committed Sep 12, 2022
1 parent 34102db commit b5a555e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/bfactor_plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
bfactor_plot
---------
Pipeline setup script for automated processing with RELION 3.
Pipeline setup script for automated processing with RELION 4.
Authors: Sjors H.W. Scheres, Takanori Nakane & Colin Palmer
Expand Down Expand Up @@ -244,8 +244,8 @@ def WaitForJob(wait_for_this_job, seconds_wait):
print(" ERROR: cannot find ", wait_for_this_job, " in ", PIPELINE_STAR)
exit(1)

status = int(pipeline['pipeline_processes']['rlnPipeLineProcessStatus'][myjobnr])
if status == 2:
status = pipeline['pipeline_processes']['rlnPipeLineProcessStatusLabel'][myjobnr]
if status == "Succeeded":
print(" RELION_IT: job in", wait_for_this_job, "has finished now")
return
else:
Expand Down

0 comments on commit b5a555e

Please sign in to comment.