Skip to content

Commit

Permalink
remove test_gapjunction_synreaderNRN
Browse files Browse the repository at this point in the history
  • Loading branch information
WeinaJi committed Feb 8, 2024
1 parent 0da1623 commit 07c1e52
Showing 1 changed file with 0 additions and 19 deletions.
19 changes: 0 additions & 19 deletions tests/integration-e2e/test_synapse_reader.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,25 +6,6 @@
SIM_DIR = Path(__file__).parent.parent.absolute() / "simulations"


def test_gapjunction_synreaderNRN():
nrn_file = "/gpfs/bbp.cscs.ch/project/proj12/jenkins/cellular/circuit-scx-v5-gapjunctions/gap_junctions/nrn_gj.h5" # noqa
nrn_reader = GapJunctionSynapseReader.create(nrn_file, 1)
syn_params_nrn = nrn_reader._load_synapse_parameters(100124)
# check reading of sgid, junction_id_pre and junction_id_post
ref_sgids = np.array([94669., 94723., 95634., 95823., 96581.,
97338., 97455., 98139., 98432., 100725.,
101360., 101506., 101696., 101696., 191567.])
ref_junction_id_pre = np.array([735., 736., 29., 36., 51.,
77., 744., 134., 148., 286.,
322., 337., 355., 356., 681.])
ref_junction_id_post = np.array([1251., 1259., 617., 1354., 1002.,
1756., 1027., 924., 709., 624.,
1050., 521., 592., 593., 590.])
npt.assert_allclose(syn_params_nrn.sgid, ref_sgids)
npt.assert_allclose(syn_params_nrn.D, ref_junction_id_pre)
npt.assert_allclose(syn_params_nrn.F, ref_junction_id_post)


def test_gapjunction_sonata_reader():
sonata_file = str(SIM_DIR / "mini_thalamus_sonata/gapjunction/edges.h5")
sonata_reader = GapJunctionSynapseReader.create(sonata_file, 1)
Expand Down

0 comments on commit 07c1e52

Please sign in to comment.