refresh-bio / agc

Assembled Genomes Compressor
MIT License
152 stars 13 forks source link

Updating fstream to be read-only. #8

Closed acoleman2000 closed 5 months ago

acoleman2000 commented 1 year ago

Before, in function load_file_names, an fstream was created to read in the provided .txt file. However fstream opens with read/write by default, which forced the input file to need write permissions. I added ios::in to fstream, which allows the input file to be read-only.

sebastiandeorowicz commented 6 months ago

Thanks. I'll integrate this in the forthcoming v.3.1.

sebastiandeorowicz commented 5 months ago

AGC 3.1 is ready. It includes the fix. Thank you.