Skip to content

Commit

Permalink
remove setrecursionlimit in unit tests. shouldn't be needed anymore n…
Browse files Browse the repository at this point in the history
…ow cython code has been removed
  • Loading branch information
ChiCheng45 committed Jan 30, 2025
1 parent 9f0ecce commit e8f008f
Show file tree
Hide file tree
Showing 16 changed files with 2 additions and 36 deletions.
2 changes: 0 additions & 2 deletions MDANSE/Tests/UnitTests/Analysis/test_average_structure.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import sys
import tempfile
import os
from os import path
Expand All @@ -8,7 +7,6 @@
from MDANSE.Framework.Jobs.IJob import IJob


sys.setrecursionlimit(100000)
short_traj = os.path.join(
os.path.dirname(os.path.realpath(__file__)),
"..",
Expand Down
2 changes: 0 additions & 2 deletions MDANSE/Tests/UnitTests/Analysis/test_dynamics.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import sys
import tempfile
import os
from os import path
Expand All @@ -10,7 +9,6 @@
from MDANSE.Framework.Jobs.IJob import IJob


sys.setrecursionlimit(100000)
short_traj = os.path.join(
os.path.dirname(os.path.realpath(__file__)),
"..",
Expand Down
3 changes: 0 additions & 3 deletions MDANSE/Tests/UnitTests/Analysis/test_infrared.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import sys
import tempfile
import os
from os import path
Expand All @@ -9,8 +8,6 @@
from MDANSE.Framework.Jobs.IJob import IJob


sys.setrecursionlimit(100000)

short_traj = os.path.join(
os.path.dirname(os.path.realpath(__file__)),
"..",
Expand Down
3 changes: 0 additions & 3 deletions MDANSE/Tests/UnitTests/Analysis/test_mcstas.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import sys
import tempfile
import os
from os import path
Expand All @@ -7,8 +6,6 @@
from MDANSE.Framework.Jobs.IJob import IJob


sys.setrecursionlimit(100000)

short_traj = os.path.join(
os.path.dirname(os.path.realpath(__file__)),
"..",
Expand Down
2 changes: 0 additions & 2 deletions MDANSE/Tests/UnitTests/Analysis/test_mdmc_h5md.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import sys
import tempfile
import os
import pytest
Expand All @@ -9,7 +8,6 @@
from MDANSE.Framework.Jobs.IJob import IJob


sys.setrecursionlimit(100000)
short_traj = os.path.join(
os.path.dirname(os.path.realpath(__file__)),
"..",
Expand Down
2 changes: 0 additions & 2 deletions MDANSE/Tests/UnitTests/Analysis/test_meansquare.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import sys
import tempfile
import os
from os import path
Expand All @@ -8,7 +7,6 @@
from MDANSE.Framework.Jobs.IJob import IJob


sys.setrecursionlimit(100000)
short_traj = os.path.join(
os.path.dirname(os.path.realpath(__file__)),
"..",
Expand Down
2 changes: 0 additions & 2 deletions MDANSE/Tests/UnitTests/Analysis/test_mock_dynamics.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import sys
import tempfile
import os
from os import path
Expand All @@ -10,7 +9,6 @@
from MDANSE.Framework.Jobs.IJob import IJob


sys.setrecursionlimit(100000)
file_wd = os.path.dirname(os.path.realpath(__file__))
mock_json = os.path.join(file_wd, "..", "Data", "mock.json")
result_dir = os.path.join(
Expand Down
2 changes: 0 additions & 2 deletions MDANSE/Tests/UnitTests/Analysis/test_molecule_names.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import sys
import tempfile
import os
from os import path
Expand All @@ -10,7 +9,6 @@
from MDANSE.Framework.Jobs.IJob import IJob


sys.setrecursionlimit(100000)
short_traj = os.path.join(
os.path.dirname(os.path.realpath(__file__)),
"..",
Expand Down
2 changes: 0 additions & 2 deletions MDANSE/Tests/UnitTests/Analysis/test_qvectors.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import sys
import tempfile
import os
from os import path
Expand All @@ -9,7 +8,6 @@
from MDANSE.Framework.Jobs.IJob import IJob


sys.setrecursionlimit(100000)
short_traj = os.path.join(
os.path.dirname(os.path.realpath(__file__)),
"..",
Expand Down
2 changes: 0 additions & 2 deletions MDANSE/Tests/UnitTests/Analysis/test_resolutions.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import sys
import tempfile
import os
from os import path
Expand All @@ -14,7 +13,6 @@
from MDANSE.Framework.Jobs.IJob import IJob


sys.setrecursionlimit(100000)
short_traj = os.path.join(
os.path.dirname(os.path.realpath(__file__)),
"..",
Expand Down
2 changes: 0 additions & 2 deletions MDANSE/Tests/UnitTests/Analysis/test_scattering.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import sys
import tempfile
import os
from os import path
Expand All @@ -10,7 +9,6 @@
from MDANSE.Framework.Jobs.IJob import IJob


sys.setrecursionlimit(100000)
short_traj = os.path.join(
os.path.dirname(os.path.realpath(__file__)),
"..",
Expand Down
2 changes: 0 additions & 2 deletions MDANSE/Tests/UnitTests/Analysis/test_structure.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import sys
import tempfile
import os
from os import path
Expand All @@ -10,7 +9,6 @@
from MDANSE.Framework.Jobs.IJob import IJob


sys.setrecursionlimit(100000)
short_traj = os.path.join(
os.path.dirname(os.path.realpath(__file__)),
"..",
Expand Down
4 changes: 1 addition & 3 deletions MDANSE/Tests/UnitTests/Analysis/test_thermodynamics.py
Original file line number Diff line number Diff line change
@@ -1,16 +1,14 @@
import sys
import tempfile
import os
from os import path
import pytest

import numpy as np
import h5py
from MDANSE.Framework.InputData.HDFTrajectoryInputData import HDFTrajectoryInputData

from MDANSE.Framework.Jobs.IJob import IJob


sys.setrecursionlimit(100000)
short_traj = os.path.join(
os.path.dirname(os.path.realpath(__file__)),
"..",
Expand Down
2 changes: 0 additions & 2 deletions MDANSE/Tests/UnitTests/Analysis/test_trajectory.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import sys
import tempfile
import os
from os import path
Expand All @@ -7,7 +6,6 @@
from MDANSE.Framework.Jobs.IJob import IJob


sys.setrecursionlimit(100000)
short_traj = os.path.join(
os.path.dirname(os.path.realpath(__file__)),
"..",
Expand Down
4 changes: 1 addition & 3 deletions MDANSE/Tests/UnitTests/TrajectoryEditor/test_editor.py
Original file line number Diff line number Diff line change
@@ -1,17 +1,15 @@
import sys
import tempfile
import os
from os import path
import pytest

import numpy as np
import h5py

from MDANSE.MolecularDynamics.Configuration import remove_jumps
from MDANSE.Framework.InputData.HDFTrajectoryInputData import HDFTrajectoryInputData
from MDANSE.Framework.Jobs.IJob import IJob


sys.setrecursionlimit(100000)
short_traj = os.path.join(
os.path.dirname(os.path.realpath(__file__)),
"..",
Expand Down
2 changes: 0 additions & 2 deletions MDANSE/Tests/UnitTests/test_text_output.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import sys
import tempfile
import os
from os import path
Expand All @@ -8,7 +7,6 @@
from MDANSE.Framework.Jobs.IJob import IJob


sys.setrecursionlimit(100000)
short_traj = os.path.join(
os.path.dirname(os.path.realpath(__file__)),
"Converted",
Expand Down

0 comments on commit e8f008f

Please sign in to comment.