Skip to content

Commit

Permalink
removed vos install check
Browse files Browse the repository at this point in the history
  • Loading branch information
martinkilbinger committed Feb 16, 2023
1 parent 7bc307b commit 43b4fda
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 16 deletions.
16 changes: 0 additions & 16 deletions cs_util/canfar.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,25 +39,9 @@ class vosHandler:

def __init__(self, command):

self._check_vos_install()
self._avail_commands = tuple(vosc.__all__)
self.command = command

@staticmethod
def _check_vos_install():
"""Check VOS Install.
Check if VOS is correctly installed.
Raises
------
ImportError
if vos package cannot be imported
"""
if import_fail:
raise ImportError('vos package not found')

@property
def command(self):
"""Set Command.
Expand Down
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@ astropy
datetime
numpy
matplotlib
pyccl
vos

0 comments on commit 43b4fda

Please sign in to comment.