Changeset 69


Ignore:
Timestamp:
May 25, 2010 5:23:58 PM (12 years ago)
Author:
toby
Message:

fix GSASIIspc self-tests

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIspc.py

    r65 r69  
    499499def test1():
    500500    ''' test #1: SpcGroup and SGPrint against previous results'''
    501     testdir = ospath.join(mypath,'testinp')
     501    testdir = ospath.join(ospath.split(ospath.abspath( __file__ ))[0],'testinp')
    502502    if ospath.exists(testdir):
    503503        if testdir not in sys.path: sys.path.insert(0,testdir)
     
    527527def test2():
    528528    ''' test #2: SpcGroup against cctbx (sgtbx) computations'''
    529     testdir = ospath.join(mypath,'testinp')
     529    testdir = ospath.join(ospath.split(ospath.abspath( __file__ ))[0],'testinp')
    530530    if ospath.exists(testdir):
    531531        if testdir not in sys.path: sys.path.insert(0,testdir)
Note: See TracChangeset for help on using the changeset viewer.