Add a newline normalizing wrapper for io.Readers#340
Add a newline normalizing wrapper for io.Readers#340carreter wants to merge 1 commit intobebop:mainfrom
Conversation
|
Do you have any specific cases where this is useful? Is it like for, switching |
|
Yes, |
|
Have you found any bioinformatics files that have |
|
No, but I'm mostly thinking about making sure clients on MacOS, which IIRC we support, can parse files without worrying about normalizing the |
|
I see, so it would solve something like #301 . The thing I'm worried about is adding a whole generic intermediate to the parsers - I think it'd reduce readability. The tradeoffs might be worth it if we could support windows though (I use mac pretty often and haven't had this problem) |
|
Hmm. I'm blanking on other ways to structure this that doesn't involve adding an intermediate. IMO we should wire this in in all the |
|
We can't put it in |
|
I don't think there would be an import cycle. Regardless, I'm going to switch this to a draft PR until #339 is merged. Once it is, this wrapper con go in a new |
Status: Blocked βIssues blocking this PR:
This comment was automatically written by the Blocking Issues bot, and this PR will be monitored for further progress. |
|
This PR has had no activity in the past 2 months. Marking as |
Will be useful for cross-platform support.
Blocked by #339