Skip to content

Commit

Permalink
Number of projections added as parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidHerreros authored Dec 2, 2024
1 parent d886701 commit 01bd7c7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/cryo_challenge/_map_to_map/map_to_map_distance.py
Original file line number Diff line number Diff line change
Expand Up @@ -415,6 +415,7 @@ def get_distance_matrix(self, maps1, maps2, global_store_of_running_results):
gpuID = self.config["analysis"]["zernike3d_extra_params"]["gpuID"]
outputPath = self.config["analysis"]["zernike3d_extra_params"]["tmpDir"]
thr = self.config["analysis"]["zernike3d_extra_params"]["thr"]
numProjections = self.config["analysis"]["zernike3d_extra_params"]["numProjections"]

# Create output directory
if not os.path.isdir(outputPath):
Expand Down Expand Up @@ -451,7 +452,7 @@ def get_distance_matrix(self, maps1, maps2, global_store_of_running_results):
subprocess.check_call(f'eval "$({condabin_path} shell.bash hook)" &&'
f' conda activate flexutils-tensorflow && '
f'compute_distance_matrix_zernike3deep.py --references_file {references_path} '
f'--targets_file {targets_paths} --out_path {outputPath} --gpu {gpuID} '
f'--targets_file {targets_paths} --out_path {outputPath} --gpu {gpuID} --num_projections {numProjections}'
f'--thr {thr}', shell=True)

# Read distance matrix
Expand Down

0 comments on commit 01bd7c7

Please sign in to comment.