File tree Expand file tree Collapse file tree 5 files changed +24
-16
lines changed Expand file tree Collapse file tree 5 files changed +24
-16
lines changed Original file line number Diff line number Diff line change 1
1
sudo : false
2
- language : haskell
2
+ language : generic
3
+
4
+ env :
5
+ global :
6
+ # HACKAGE_PASSWORD
7
+ - secure : p4viJPiZUbANBNWynxsHERHnofPaZgrhmZEMZrsocWNV0snrRpYOoFogL1G2WQ7LJH2eMAfWUuwL0kCqoPOu4fiXXliG6h/zL8uKGgikOZ96C4oCptuOG/Ew117Hj1Ao9cp+9hieu4IADjORe7/BtCcpqDTV2kG7No0+O6bano1Ws+X6IVfrMHHB0DfUNqz9nfg6u3+6wAnPqh3AWOTULIdcV+eq2HD3+iBpR+laPiTATQayDMjC8FYWMVr8NsS07Z0I/jYBN1/lhvRH27beH02CzXpqaEcNn8yfuX6bKEPdjOtdPbl01YHBCnBtZpiluDuwj7a7ITDLqhsQ6pA5iduKQthOX75mooyhwQCEhH0KqlwysOT37k9Q4b/DMQAG6cuwyhZrAtXSprDQVDGgOr72RSUDwkiYmORpTno1VWGFg1ToOVPIN2Rel2HEyb/M/SVozV8lmSZ5D+CvomRg7H6SqCxBi8jP1MsRRBeZ1bBXolfVL7+OR2T4d8zmluDJwOrtQ4zfI/mbnvBg91N4fDY4ibdF/fCDav3/I5timmfyqRCGOVzWlhIovbKwo0OYj3xd9q7SP/EL4Xg8IcZedQF8/viCsltWcceLPBKL63eI9XUbk5enB1WDsDMIae7IUAuUjJ9JmX1XzNiSwG+omD+OCLZbh4UUAS3SngZK4KQ=
3
8
4
9
# Caching so the next build will be fast too.
5
10
cache :
6
11
directories :
7
12
- $HOME/.stack
8
13
9
- matrix :
10
- include :
11
- - ghc : 8.6.4
12
- env : STACK_YAML="$TRAVIS_BUILD_DIR/stack.yaml"
13
-
14
14
before_install :
15
- - mkdir -p ~/.local/bin
16
- - export PATH=$HOME/.local/bin:$PATH
17
- - travis_retry curl -L https://www.stackage.org/stack/linux-x86_64 | tar xz --wildcards --strip-components=1 -C ~/.local/bin '*/stack'
15
+ - curl -sSL https://get.haskellstack.org/ | sh
16
+ - stack --version
18
17
19
18
install :
20
- - travis_wait 60 stack --no-terminal --system-ghc test --only-snapshot
19
+ - stack build --test --bench --only-dependencies
21
20
22
- script :
23
- - stack --no-terminal --system-ghc test --pedantic
21
+ jobs :
22
+ include :
23
+ - stage : Build and test
24
+ script : stack build --pedantic --test --bench --no-run-benchmarks
25
+ - stage : Hackage deploy
26
+ # n is for "store credentials" question
27
+ script : echo -e "ozzzzz\n${HACKAGE_PASSWORD}\nn" | stack upload --pvp-bounds both .
28
+ if : tag IS present
Original file line number Diff line number Diff line change 2
2
3
3
## [ Unreleased]
4
4
5
+ ## [ 0.1.3.1] - 2020-04-02
6
+ ### Fixed
7
+ - Reading of insertion code for residues in MAE.
8
+
5
9
## [ 0.1.3.0] - 2020-03-27
6
10
### Added
7
11
- Residue index in ` Structure ` .
Original file line number Diff line number Diff line change 1
1
name : cobot-io
2
- version : 0.1.3.0
2
+ version : 0.1.3.1
3
3
github : " less-wrong/cobot-io"
4
4
license : BSD3
5
5
category : Bio
Original file line number Diff line number Diff line change @@ -140,7 +140,7 @@ instance StructureModels Mae where
140
140
where
141
141
name = stripQuotes $ unsafeGetFromContents " s_m_pdb_residue_name" h
142
142
residueNumber = unsafeGetFromContents " i_m_residue_number" h
143
- insertionCode = unsafeGetFromContents " s_m_insertion_code" h
143
+ insertionCode = getFromContents defaultInsertionCode " s_m_insertion_code" h
144
144
atoms = V. fromList $ fmap indexToAtom group
145
145
146
146
localInds = [0 .. length group - 1 ]
Original file line number Diff line number Diff line change @@ -145,5 +145,4 @@ firstPDBModel filepath = do
145
145
firstMaeModel :: (MonadIO m ) => FilePath -> m Model
146
146
firstMaeModel filepath = do
147
147
eitherMae <- modelsFromMaeFile filepath
148
- -- `evaluate . force` fails for some reason
149
- pure . V. head $ fromRight undefined eitherMae
148
+ liftIO . ef . V. head $ fromRight undefined eitherMae
You can’t perform that action at this time.
0 commit comments