Skip to content

Commit

Permalink
Use full micrograph path for CTF and autopick
Browse files Browse the repository at this point in the history
  • Loading branch information
stephen-riggs committed Oct 26, 2023
1 parent 57d9b9b commit 9817b8e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/relion/_parser/autopick.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ def _load_job_directory(self, jobdir):
particle_picker_info.append(
ParticlePickerInfo(
int(np),
mic,
str(self._basepath.parent / mic),
str(self._basepath.parent / mic).replace(".mrc", ".jpeg"),
first_mc_micrograph,
str(highlighted_micrograph),
Expand Down
2 changes: 1 addition & 1 deletion src/relion/_parser/ctffind.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ def _load_job_directory(self, jobdir):
)
micrograph_list.append(
CTFMicrograph(
micrograph_name[j],
str(self._basepath.parent / micrograph_name[j]),
astigmatism[j],
defocus_u[j],
defocus_v[j],
Expand Down

0 comments on commit 9817b8e

Please sign in to comment.