Skip to content

Commit

Permalink
Merge pull request #15 from martinkilbinger/vos_update
Browse files Browse the repository at this point in the history
Vos update
  • Loading branch information
martinkilbinger authored Feb 16, 2023
2 parents a67c889 + 43b4fda commit 51ab355
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 17 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
1 change: 0 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#! /usr/bin/env python
# -*- coding: utf-8 -*-

from setuptools import setup, find_packages
import os
Expand Down

0 comments on commit 51ab355

Please sign in to comment.