Skip to content

Commit

Permalink
Change location of test files, and correct path
Browse files Browse the repository at this point in the history
  • Loading branch information
SanderBorgmans committed Aug 3, 2023
1 parent acab5e5 commit c14cff9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions scripts/gpxrd_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,9 @@ def check_import():
def check_calculation():
from gpxrdpy.gpxrd_utils import create_crystal, calculate

filename = 'tests/data/COF-5.cif'
obspattern = 'tests/data/exp.tsv'
data_path = os.path.join(os.path.dirname(__file__), 'data')
filename = os.path.join(data_path,'COF-5.cif')
obspattern = os.path.join(data_path,'exp.tsv')

# Calculate the PXRD pattern and save the output
# Also provide a reference pattern to perform a comparison analysis
Expand Down

0 comments on commit c14cff9

Please sign in to comment.