Skip to content

Commit

Permalink
add default_project_record_identifier if using {record_identifier} in…
Browse files Browse the repository at this point in the history
… pipestat config
  • Loading branch information
donaldcampbelljr committed Nov 30, 2023
1 parent c21660d commit a0d65d5
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions looper/project.py
Original file line number Diff line number Diff line change
Expand Up @@ -538,6 +538,12 @@ def _get_pipestat_configuration(self, sample_name=None, project_level=False):
{"project_name": pipestat_config_dict["project_name"]}
)

if project_level and "{record_identifier}" in results_file_path:
# if project level and using {record_identifier}, pipestat needs some sort of record_identifier during creation
pipestat_config_dict.update(
{"record_identifier": "default_project_record_identifier"}
)

pipestat_config_dict.update({"output_dir": output_dir})

pifaces = (
Expand Down

0 comments on commit a0d65d5

Please sign in to comment.