diff options
-rw-r--r-- | wqflask/wqflask/metadata_edits.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wqflask/wqflask/metadata_edits.py b/wqflask/wqflask/metadata_edits.py index c1121774..bceb9f3b 100644 --- a/wqflask/wqflask/metadata_edits.py +++ b/wqflask/wqflask/metadata_edits.py @@ -431,7 +431,7 @@ def get_sample_data_as_csv(dataset_id: str, phenotype_id: int): phenotype_id=str(phenotype_id)), mimetype="text/csv", headers={"Content-disposition": - "attachment; filename=myplot.csv"} + f"attachment; filename=sample-data-{dataset_id}.csv"} ) |