Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

should to_yaml include a trailing newline? #48

nsheff opened this issue May 16, 2019 · 0 comments

should to_yaml include a trailing newline? #48

nsheff opened this issue May 16, 2019 · 0 comments


Copy link

@nsheff nsheff commented May 16, 2019

In [13]: yacmap.to_yaml()                                                                                                          
Out[13]: 'genome_folder: $GENOMES\ngenome_server: http://localhost\ngenomes:\n  hg38:\n    bowtie2: indexed_bowtie2\n    hisat2: indexed_hisat2\n    tss_annotation: TSS.bed.gz\n    gtf: blah.gtf\n  mm10:\n    bowtie2: indexed_bowtie2\n    blacklist: blacklist/mm10.bed\n  rCRSd:\n    bowtie2: indexed_bowtie2\n    bowtie: indexed_bowtie\n_file_path: conf.yaml'

typically files have a trailing newline, and since to_yaml is likely to be used for writing files, maybe we should adjust to include that final \n ?

@vreuter vreuter added this to the 0.12 milestone May 16, 2019
@vreuter vreuter closed this in 6fa13f1 May 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants