Skip to content

Commit

Permalink
Change sys.path.append to sys.path.insert in results.py for each test.
Browse files Browse the repository at this point in the history
  • Loading branch information
paulromano committed Oct 10, 2014
1 parent 9d32299 commit 5184ca6
Show file tree
Hide file tree
Showing 79 changed files with 79 additions and 79 deletions.
2 changes: 1 addition & 1 deletion tests/test_basic/results.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import sys

# import statepoint
sys.path.append('../../src/utils')
sys.path.insert(0, '../../src/utils')
import statepoint

# read in statepoint file
Expand Down
2 changes: 1 addition & 1 deletion tests/test_cmfd_feed/results.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import numpy as np

# import statepoint
sys.path.append('../../src/utils')
sys.path.insert(0, '../../src/utils')
import statepoint

# read in statepoint file
Expand Down
2 changes: 1 addition & 1 deletion tests/test_cmfd_jfnk/results.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import numpy as np

# import statepoint
sys.path.append('../../src/utils')
sys.path.insert(0, '../../src/utils')
import statepoint

# read in statepoint file
Expand Down
2 changes: 1 addition & 1 deletion tests/test_cmfd_nofeed/results.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import numpy as np

# import statepoint
sys.path.append('../../src/utils')
sys.path.insert(0, '../../src/utils')
import statepoint

# read in statepoint file
Expand Down
2 changes: 1 addition & 1 deletion tests/test_confidence_intervals/results.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import numpy as np

# import statepoint
sys.path.append('../../src/utils')
sys.path.insert(0, '../../src/utils')
import statepoint

# read in statepoint file
Expand Down
2 changes: 1 addition & 1 deletion tests/test_density_atombcm/results.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import sys

# import statepoint
sys.path.append('../../src/utils')
sys.path.insert(0, '../../src/utils')
import statepoint

# read in statepoint file
Expand Down
2 changes: 1 addition & 1 deletion tests/test_density_atomcm3/results.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import sys

# import statepoint
sys.path.append('../../src/utils')
sys.path.insert(0, '../../src/utils')
import statepoint

# read in statepoint file
Expand Down
2 changes: 1 addition & 1 deletion tests/test_density_kgm3/results.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import sys

# import statepoint
sys.path.append('../../src/utils')
sys.path.insert(0, '../../src/utils')
import statepoint

# read in statepoint file
Expand Down
2 changes: 1 addition & 1 deletion tests/test_density_sum/results.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import sys

# import statepoint
sys.path.append('../../src/utils')
sys.path.insert(0, '../../src/utils')
import statepoint

# read in statepoint file
Expand Down
2 changes: 1 addition & 1 deletion tests/test_eigenvalue_genperbatch/results.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import sys

# import statepoint
sys.path.append('../../src/utils')
sys.path.insert(0, '../../src/utils')
import statepoint

# read in statepoint file
Expand Down
2 changes: 1 addition & 1 deletion tests/test_eigenvalue_no_inactive/results.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import sys

# import statepoint
sys.path.append('../../src/utils')
sys.path.insert(0, '../../src/utils')
import statepoint

# read in statepoint file
Expand Down
2 changes: 1 addition & 1 deletion tests/test_energy_grid/results.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import sys

# import statepoint
sys.path.append('../../src/utils')
sys.path.insert(0, '../../src/utils')
import statepoint

# read in statepoint file
Expand Down
2 changes: 1 addition & 1 deletion tests/test_entropy/results.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import numpy as np

# import statepoint
sys.path.append('../../src/utils')
sys.path.insert(0, '../../src/utils')
import statepoint

# read in statepoint file
Expand Down
2 changes: 1 addition & 1 deletion tests/test_filter_cell/results.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import numpy as np

# import statepoint
sys.path.append('../../src/utils')
sys.path.insert(0, '../../src/utils')
import statepoint

# read in statepoint file
Expand Down
2 changes: 1 addition & 1 deletion tests/test_filter_cellborn/results.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import numpy as np

# import statepoint
sys.path.append('../../src/utils')
sys.path.insert(0, '../../src/utils')
import statepoint

# read in statepoint file
Expand Down
2 changes: 1 addition & 1 deletion tests/test_filter_energy/results.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import numpy as np

# import statepoint
sys.path.append('../../src/utils')
sys.path.insert(0, '../../src/utils')
import statepoint

# read in statepoint file
Expand Down
2 changes: 1 addition & 1 deletion tests/test_filter_energyout/results.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import numpy as np

# import statepoint
sys.path.append('../../src/utils')
sys.path.insert(0, '../../src/utils')
import statepoint

# read in statepoint file
Expand Down
2 changes: 1 addition & 1 deletion tests/test_filter_group_transfer/results.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import numpy as np

# import statepoint
sys.path.append('../../src/utils')
sys.path.insert(0, '../../src/utils')
import statepoint

# read in statepoint file
Expand Down
2 changes: 1 addition & 1 deletion tests/test_filter_material/results.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import numpy as np

# import statepoint
sys.path.append('../../src/utils')
sys.path.insert(0, '../../src/utils')
import statepoint

# read in statepoint file
Expand Down
2 changes: 1 addition & 1 deletion tests/test_filter_mesh_2d/results.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import numpy as np

# import statepoint
sys.path.append('../../src/utils')
sys.path.insert(0, '../../src/utils')
import statepoint

# read in statepoint file
Expand Down
2 changes: 1 addition & 1 deletion tests/test_filter_mesh_3d/results.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import numpy as np

# import statepoint
sys.path.append('../../src/utils')
sys.path.insert(0, '../../src/utils')
import statepoint

# read in statepoint file
Expand Down
2 changes: 1 addition & 1 deletion tests/test_filter_universe/results.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import numpy as np

# import statepoint
sys.path.append('../../src/utils')
sys.path.insert(0, '../../src/utils')
import statepoint

# read in statepoint file
Expand Down
2 changes: 1 addition & 1 deletion tests/test_fixed_source/results.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import numpy as np

# import statepoint
sys.path.append('../../src/utils')
sys.path.insert(0, '../../src/utils')
import statepoint

# read in statepoint file
Expand Down
2 changes: 1 addition & 1 deletion tests/test_lattice/results.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import sys

# import statepoint
sys.path.append('../../src/utils')
sys.path.insert(0, '../../src/utils')
import statepoint

# read in statepoint file
Expand Down
2 changes: 1 addition & 1 deletion tests/test_lattice_multiple/results.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import sys

# import statepoint
sys.path.append('../../src/utils')
sys.path.insert(0, '../../src/utils')
import statepoint

# read in statepoint file
Expand Down
2 changes: 1 addition & 1 deletion tests/test_natural_element/results.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import sys

# import statepoint
sys.path.append('../../src/utils')
sys.path.insert(0, '../../src/utils')
import statepoint

# read in statepoint file
Expand Down
2 changes: 1 addition & 1 deletion tests/test_output/results.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import sys

# import statepoint
sys.path.append('../../src/utils')
sys.path.insert(0, '../../src/utils')
import statepoint

# read in statepoint file
Expand Down
2 changes: 1 addition & 1 deletion tests/test_particle_restart_eigval/results.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import sys

# import particle restart
sys.path.append('../../src/utils')
sys.path.insert(0, '../../src/utils')
import particle_restart as pr

# read in particle restart file
Expand Down
2 changes: 1 addition & 1 deletion tests/test_particle_restart_fixed/results.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import sys

# import particle restart
sys.path.append('../../src/utils')
sys.path.insert(0, '../../src/utils')
import particle_restart as pr

# read in particle restart file
Expand Down
2 changes: 1 addition & 1 deletion tests/test_ptables_off/results.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import sys

# import statepoint
sys.path.append('../../src/utils')
sys.path.insert(0, '../../src/utils')
import statepoint

# read in statepoint file
Expand Down
2 changes: 1 addition & 1 deletion tests/test_reflective_cone/results.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import sys

# import statepoint
sys.path.append('../../src/utils')
sys.path.insert(0, '../../src/utils')
import statepoint

# read in statepoint file
Expand Down
2 changes: 1 addition & 1 deletion tests/test_reflective_cylinder/results.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import sys

# import statepoint
sys.path.append('../../src/utils')
sys.path.insert(0, '../../src/utils')
import statepoint

# read in statepoint file
Expand Down
2 changes: 1 addition & 1 deletion tests/test_reflective_plane/results.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import sys

# import statepoint
sys.path.append('../../src/utils')
sys.path.insert(0, '../../src/utils')
import statepoint

# read in statepoint file
Expand Down
2 changes: 1 addition & 1 deletion tests/test_reflective_sphere/results.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import sys

# import statepoint
sys.path.append('../../src/utils')
sys.path.insert(0, '../../src/utils')
import statepoint

# read in statepoint file
Expand Down
2 changes: 1 addition & 1 deletion tests/test_resonance_scattering/results.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import sys

# import statepoint
sys.path.append('../../src/utils')
sys.path.insert(0, '../../src/utils')
import statepoint

# read in statepoint file
Expand Down
2 changes: 1 addition & 1 deletion tests/test_rotation/results.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import sys

# import statepoint
sys.path.append('../../src/utils')
sys.path.insert(0, '../../src/utils')
import statepoint

# read in statepoint file
Expand Down
2 changes: 1 addition & 1 deletion tests/test_salphabeta/results.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import sys

# import statepoint
sys.path.append('../../src/utils')
sys.path.insert(0, '../../src/utils')
import statepoint

# read in statepoint file
Expand Down
2 changes: 1 addition & 1 deletion tests/test_salphabeta_multiple/results.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import sys

# import statepoint
sys.path.append('../../src/utils')
sys.path.insert(0, '../../src/utils')
import statepoint

# read in statepoint file
Expand Down
2 changes: 1 addition & 1 deletion tests/test_score_MT/results.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import numpy as np

# import statepoint
sys.path.append('../../src/utils')
sys.path.insert(0, '../../src/utils')
import statepoint

# read in statepoint file
Expand Down
2 changes: 1 addition & 1 deletion tests/test_score_absorption/results.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import numpy as np

# import statepoint
sys.path.append('../../src/utils')
sys.path.insert(0, '../../src/utils')
import statepoint

# read in statepoint file
Expand Down
2 changes: 1 addition & 1 deletion tests/test_score_current/results.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import numpy as np

# import statepoint
sys.path.append('../../src/utils')
sys.path.insert(0, '../../src/utils')
import statepoint

# read in statepoint file
Expand Down
2 changes: 1 addition & 1 deletion tests/test_score_events/results.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import numpy as np

# import statepoint
sys.path.append('../../src/utils')
sys.path.insert(0, '../../src/utils')
import statepoint

# read in statepoint file
Expand Down
2 changes: 1 addition & 1 deletion tests/test_score_fission/results.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import numpy as np

# import statepoint
sys.path.append('../../src/utils')
sys.path.insert(0, '../../src/utils')
import statepoint

# read in statepoint file
Expand Down
2 changes: 1 addition & 1 deletion tests/test_score_flux/results.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import numpy as np

# import statepoint
sys.path.append('../../src/utils')
sys.path.insert(0, '../../src/utils')
import statepoint

# read in statepoint file
Expand Down
Loading

0 comments on commit 5184ca6

Please sign in to comment.