biocad / cobot-io

Biological data file formats and IO
BSD 3-Clause "New" or "Revised" License
1 stars 6 forks source link

Mae fails with `evaluate . force` #31

Closed tiermak closed 4 years ago

tiermak commented 4 years ago

Code to reproduce

firstMaeModel :: (MonadIO m) => FilePath -> m Model
firstMaeModel filepath = do
  eitherMae <- modelsFromMaeFile filepath
  liftIO . evaluate . force . V.head $ fromRight undefined eitherMae

Error message Map.!: given key is not an element in the map

maksbotan commented 4 years ago

Fixed in #34.