Skip to content

Commit

Permalink
Turn prints into logs
Browse files Browse the repository at this point in the history
  • Loading branch information
TorecLuik committed Nov 18, 2024
1 parent d8ba853 commit 8a9e717
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions biomero/slurm_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -918,12 +918,11 @@ def from_config(cls, configfile: str = '',
slurm_model_jobs[k[:-len(suffix_job)]] = v
slurm_model_jobs_params[k[:-len(suffix_job)]] = []
elif job_param_match:
print(f"Match: {slurm_model_jobs_params}")
slurm_model_jobs_params[job_param_match.group(1)].append(
f" --{job_param_match.group(2)}={v}")
print(f"Added: {slurm_model_jobs_params}")
else:
slurm_model_paths[k] = v
logger.info(f"Using job params: {slurm_model_jobs_params}")

slurm_script_path = configs.get(
"SLURM", "slurm_script_path",
Expand Down

0 comments on commit 8a9e717

Please sign in to comment.