# coding: utf-8

""" Test reading SCF files """

from __future__ import absolute_import, unicode_literals, division, print_function

__author__ = "adrn <adrn@astro.columbia.edu>"

# Standard library
import os, sys
import logging

# Third-party
import numpy as np
import astropy.units as u

# Project
from ..scf import SCFReader
from ...units import usys

def test_simple():
    scf = SCFReader('/Users/adrian/projects/stream-team/tests/M2.5e+08')

def test_snap():
    scf = SCFReader('/Users/adrian/projects/stream-team/tests/M2.5e+08')
    d1 = scf.read_snap('SNAP113')
    print(d1.meta)

    d1 = scf.read_snap('SNAP113', units=usys)
    print(d1.meta)
@@ -342,20 +342,24 @@
  import 
-usys
+galactic
 %0A%0Adef te
@@ -413,33 +413,32 @@
 /projects/stream
--
 team/tests/M2.5e
@@ -511,17 +511,16 @@
 s/stream
--
 team/tes
@@ -631,12 +631,16 @@
 its=
-usys
+galactic
 )%0A  
@@ -635,28 +635,29 @@
 galactic)%0A    print(d1.meta)
+%0A

update test path