Skip to content

Commit

Permalink
put the slash in the right place
Browse files Browse the repository at this point in the history
  • Loading branch information
paul-butcher committed Jun 19, 2024
1 parent 20b74b1 commit 5485386
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/transferrer/make_zip.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def generate_metadata_csv(csvfile, accession_id):
The accession id is placed in the final cell
>>> import io
>>> generate_metadata_csv(io.StringIO(), shoot_number_to_accession_id("2754", "CP000159")).getvalue()
'filename,collection_reference,accession_number\\r\\n/objects,WT,2754_CP000159\\r\\n'
'filename,collection_reference,accession_number\\r\\nobjects/,WT,2754_CP000159\\r\\n'
"""
writer = csv.DictWriter(
csvfile, fieldnames=["filename", "collection_reference", "accession_number"]
Expand Down

0 comments on commit 5485386

Please sign in to comment.