Skip to content

Commit

Permalink
Add check on output events
Browse files Browse the repository at this point in the history
  • Loading branch information
paolafer committed Apr 24, 2024
1 parent 8992172 commit 11a5a9e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion invisible_cities/cities/detsim_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -266,8 +266,10 @@ def test_detsim_buffer_times(ICDATADIR, output_tmpdir):
def test_detsim_hits_without_strings(ICDATADIR, output_tmpdir):
PATH_IN = os.path.join(ICDATADIR , "nexus_next100_nostrings.h5")
PATH_OUT = os.path.join(output_tmpdir, "detsim_nostrings.h5")
conf = configure('detsim $ICTDIR/invisible_cities/config/detsim.conf'.split())
conf = configure('detsim $ICTDIR/invisible_cities/config/detsim_next100.conf'.split())
conf.update(dict(files_in = PATH_IN,
file_out = PATH_OUT,
run_number = 0))
result = detsim(**conf)

assert result.evtnum_list == [0, 1]

0 comments on commit 11a5a9e

Please sign in to comment.