Ejemplo n.º 1
0
def test_parse_ion():
    # JXP .ion file
    if os.getenv('LLSTREE') is None:
        assert True
    # Read
    datfil = 'Data/UM184.z2929.dat'
    lls = LLSSystem(dat_file=datfil, tree=os.getenv('LLSTREE'))
    #    
    lls.get_ions()
    assert len(lls.lines) == 24
Ejemplo n.º 2
0
def test_parse_ion():
    # JXP .ion file
    if os.getenv('LLSTREE') is None:
        assert True
    # Read
    datfil = 'Data/UM184.z2929.dat'
    lls = LLSSystem(dat_file=datfil, tree=os.getenv('LLSTREE'))
    #
    lls.get_ions()
    assert len(lls.lines) == 24