Skip to content

Commit

Permalink
Fix stupid import bug #61
Browse files Browse the repository at this point in the history
  • Loading branch information
h4nsu committed Mar 27, 2019
1 parent 58f6c53 commit f2f17ea
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions recipes/cshadf.py
Original file line number Diff line number Diff line change
@@ -1,15 +1,18 @@
import numpy as np
from scm.csh import CSHessian

from ..core.basejob import MultiJob
from ..core.errors import JobError
from ..core.results import Results
from ..interfaces.adfsuite.adf import ADFJob
from ..tools.units import Units


__all__ = ['CSHessianADFJob', 'CSHessianADFResults']

try:
from scm.csh import CSHessian
except ImportError:
__all__ = []


class CSHessianADFResults(Results):
def get_hessian(self):
Expand Down

0 comments on commit f2f17ea

Please sign in to comment.