Skip to content

Commit

Permalink
only pass sample_name as record_identifier if it is given
Browse files Browse the repository at this point in the history
  • Loading branch information
donaldcampbelljr committed Nov 29, 2023
1 parent 240222f commit c21660d
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions looper/project.py
Original file line number Diff line number Diff line change
Expand Up @@ -530,11 +530,7 @@ def _get_pipestat_configuration(self, sample_name=None, project_level=False):
except KeyError:
flag_file_dir = None

if "record_identifier" in pipestat_config_dict:
pipestat_config_dict.update(
{"record_identifier": pipestat_config_dict["record_identifier"]}
)
elif sample_name:
if sample_name:
pipestat_config_dict.update({"record_identifier": sample_name})

if project_level and "project_name" in pipestat_config_dict:
Expand Down

0 comments on commit c21660d

Please sign in to comment.