Skip to content

Commit

Permalink
Fixing potentially missing cube files for VMD plotting and push version
Browse files Browse the repository at this point in the history
  • Loading branch information
sheepforce committed Apr 5, 2019
1 parent a04e2d8 commit 2c9d899
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
6 changes: 3 additions & 3 deletions Exckel.cabal
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
cabal-version: 1.12

-- This file has been generated from package.yaml by hpack version 0.31.0.
-- This file has been generated from package.yaml by hpack version 0.31.1.
--
-- see: https://github.com/sol/hpack
--
-- hash: af97ebc516c2e9c20a9bcc1dbb3d12f140587d0c0c4fb4c8ccc119e9e71e5bc1
-- hash: 1c4becb67bc53fc4a7941e470b0252e87d570f6e423c314afd785743857bce95

name: Exckel
version: 0.3.0.2
version: 0.3.0.3
description: Please see the README on GitHub at <https://github.com/githubuser/Exckel#readme>
homepage: https://github.com/sheepforce/Exckel#readme
bug-reports: https://github.com/sheepforce/Exckel/issues
Expand Down
2 changes: 1 addition & 1 deletion package.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Exckel
version: 0.3.0.2
version: 0.3.0.3
github: "sheepforce/Exckel"
license: GPL-3
author: "Phillip Seeber"
Expand Down
3 changes: 2 additions & 1 deletion src/Exckel/CLI/CLI.hs
Original file line number Diff line number Diff line change
Expand Up @@ -529,6 +529,7 @@ doPlots fi = do
Just VMD {} -> do
-- Informations about the current settings
logMessage "Orbital cubes to plot" $ show $ map takeFileName $ fiWithCubes ^. cubeFiles . orbCubes . _Just
logMessage "Natural orbital cubes to plot" $ show $ map takeFileName $ fiWithCubes ^. cubeFiles . natOrbCubes . _Just
logMessage "Hole density cubes to plot" $ show $ map takeFileName $ fiWithCubes ^. cubeFiles . holeCubes . _Just
logMessage "Electron density cubes to plot" $ show $ map takeFileName $ fiWithCubes ^. cubeFiles . electronCubes . _Just
logMessage "CDD cubes to plot" $ show $ map takeFileName $ fiWithCubes ^. cubeFiles . cddCubes . _Just
Expand All @@ -544,7 +545,7 @@ doPlots fi = do
logMessage "Rendering resolution" $ show (unwrappedRenderer ^. cpRenderer . rResolution)
logMessage "Rendering image format" $ show (unwrappedRenderer ^. cpRenderer . rImageFormat)
logInfo "Calling VMD and Tachyon. See \"VMD.out\", \"VMD.err\", \"Tachyon.out\" and \"Tachyon.err\""
CP.VMD.plotCubes fi
CP.VMD.plotCubes fiWithCubes
allImages <- findAllImages (fiWithCubes ^. outputPrefix)
return allImages
Nothing -> return $ fiWithCubes ^. imageFiles
Expand Down

0 comments on commit 2c9d899

Please sign in to comment.