cobot-io 0.1.3.19 → 0.1.3.20
raw patch · 3 files changed
+35/−14 lines, 3 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- ChangeLog.md +4/−0
- cobot-io.cabal +29/−12
- src/Bio/FASTA/Parser.hs +2/−2
ChangeLog.md view
@@ -2,6 +2,10 @@ ## [Unreleased] +## [0.1.3.20] - 2021-06-04+### Changed +- YLAB2-629: Fasta parser is now able to parse empty lines in the beginning. + ## [0.1.3.19] - 2021-04-30 ### Changed - Exports and instances for Biosset.
cobot-io.cabal view
@@ -1,13 +1,11 @@ cabal-version: 1.12 --- This file has been generated from package.yaml by hpack version 0.33.0.+-- This file has been generated from package.yaml by hpack version 0.34.4. -- -- see: https://github.com/sol/hpack------ hash: 543c70618887552cd7833594bf0cb48d233a34c25568ca9cd5ddcf6a3914a5c5 name: cobot-io-version: 0.1.3.19+version: 0.1.3.20 synopsis: Biological data file formats and IO description: Please see the README on GitHub at <https://github.com/biocad/cobot-io#readme> category: Bio@@ -75,17 +73,34 @@ Paths_cobot_io hs-source-dirs: src- default-extensions: DeriveGeneric DeriveFunctor DeriveFoldable DeriveAnyClass FlexibleInstances InstanceSigs MultiParamTypeClasses RecordWildCards ScopedTypeVariables OverloadedStrings TypeApplications TypeFamilies DataKinds ConstraintKinds TypeOperators TemplateHaskell FlexibleContexts+ default-extensions:+ DeriveGeneric+ DeriveFunctor+ DeriveFoldable+ DeriveAnyClass+ FlexibleInstances+ InstanceSigs+ MultiParamTypeClasses+ RecordWildCards+ ScopedTypeVariables+ OverloadedStrings+ TypeApplications+ TypeFamilies+ DataKinds+ ConstraintKinds+ TypeOperators+ TemplateHaskell+ FlexibleContexts build-depends:- array >=0.5 && <0.6+ array ==0.5.* , attoparsec >=0.10 && <0.14 , base >=4.7 && <5 , binary >=0.8.3.0 && <1.0 , bytestring >=0.10.8.1 && <0.11 , containers >=0.5.7.1 && <0.7 , data-msgpack >=0.0.9 && <0.1- , deepseq >=1.4 && <1.5- , http-conduit >=2.3 && <2.4+ , deepseq ==1.4.*+ , http-conduit ==2.3.* , hyraxAbif >=0.2.3.15 && <0.2.4.0 , lens >=4.16 && <5.0 , linear >=1.20 && <1.22@@ -117,11 +132,13 @@ Paths_cobot_io hs-source-dirs: test- default-extensions: OverloadedStrings TypeFamilies+ default-extensions:+ OverloadedStrings+ TypeFamilies ghc-options: -threaded -rtsopts -with-rtsopts=-N build-depends: QuickCheck >=2.9.2 && <2.15- , array >=0.5 && <0.6+ , array ==0.5.* , attoparsec >=0.10 && <0.14 , base >=4.7 && <5 , binary >=0.8.3.0 && <1.0@@ -129,10 +146,10 @@ , cobot-io , containers >=0.5.7.1 && <0.7 , data-msgpack >=0.0.9 && <0.1- , deepseq >=1.4 && <1.5+ , deepseq ==1.4.* , directory , hspec >=2.4.1 && <2.8- , http-conduit >=2.3 && <2.4+ , http-conduit ==2.3.* , hyraxAbif >=0.2.3.15 && <0.2.4.0 , lens >=4.16 && <5.0 , linear
src/Bio/FASTA/Parser.hs view
@@ -12,7 +12,7 @@ import Bio.Sequence (BareSequence, bareSequence) import Control.Applicative ((<|>)) import Data.Attoparsec.Text (Parser, char, choice, endOfInput, endOfLine, many', many1', satisfy,- skipWhile, string, takeWhile, try)+ skipWhile, space, string, takeWhile, try) import Data.Char (isAlphaNum, isLetter, isSpace) import Data.Text (Text, strip) import Prelude hiding (takeWhile)@@ -27,7 +27,7 @@ -- | Parser of .fasta file. -- fastaP :: ParsableFastaToken a => Parser (Fasta a)-fastaP = fastaPGeneric isLetter+fastaP = many' space *> fastaPGeneric isLetter fastaPGeneric :: ParsableFastaToken a => (Char -> Bool) -> Parser (Fasta a) fastaPGeneric = many' . item