Skip to content

Commit

Permalink
adjust output directories - annotations now go in 'annotations' subdi…
Browse files Browse the repository at this point in the history
…rectory of job dir
  • Loading branch information
alisterburt committed May 5, 2023
1 parent 8cc8bd7 commit 02d7954
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/tomography_python_programs/pick/filaments.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ def synchronise_annotator(self):
@property
def current_particle_star_file(self) -> Path:
tilt_series_id = self.tomogram_browser_widget.selected_tilt_series.name
return self.output_directory / f'{tilt_series_id}_filaments.star'
return self.output_directory / 'annotations' / f'{tilt_series_id}_filaments.star'

def save_particles(self):
paths = N3dPaths.from_layer(self.points_layer)
Expand Down
2 changes: 1 addition & 1 deletion src/tomography_python_programs/pick/particles.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ def synchronise_annotator(self):
@property
def current_particle_star_file(self) -> Path:
tilt_series_id = self.tomogram_browser_widget.selected_tilt_series.name
return self.output_directory / f'{tilt_series_id}_particles.star'
return self.output_directory / 'annotations' / f'{tilt_series_id}_particles.star'

def save_particles(self):
zyx = self.points_layer.data
Expand Down
2 changes: 1 addition & 1 deletion src/tomography_python_programs/pick/spheres.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ def synchronise_annotator(self):
@property
def current_particle_star_file(self) -> Path:
tilt_series_id = self.tomogram_browser_widget.selected_tilt_series.name
return self.output_directory / f'{tilt_series_id}_spheres.star'
return self.output_directory / 'annotations' / f'{tilt_series_id}_spheres.star'

def save_particles(self):
spheres = N3dSpheres.from_layer(self.points_layer)
Expand Down

0 comments on commit 02d7954

Please sign in to comment.