Skip to content

Commit

Permalink
Try with double quotes
Browse files Browse the repository at this point in the history
  • Loading branch information
TorecLuik committed May 8, 2024
1 parent 3f8c2e5 commit 8e18cd7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion biomero/slurm_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -1236,7 +1236,7 @@ def run_conversion_workflow_job(self, folder_name: str,
conversion_cmd, sbatch_env = self.get_conversion_command(
data_path, config_file, source_format, target_format)
commands = [
f"find '{data_path}/data/in' -name '*.{source_format}' | awk '{{print NR, $0}}' > '{config_file}'",
f"find \"{data_path}/data/in\" -name \"*.{source_format}\" | awk '{{print NR, $0}}' > \"{config_file}\"",
f"N=$(wc -l < \"{config_file}\")",
f"echo \"Number of .{source_format} files: $N\"",
conversion_cmd
Expand Down

0 comments on commit 8e18cd7

Please sign in to comment.