From e3787dbc4de7cb93df503b3865d741cc9fccd885 Mon Sep 17 00:00:00 2001 From: Paul van Schayck Date: Mon, 18 Jul 2022 22:11:40 +0200 Subject: [PATCH] Update requirements --- requirements.txt | 8 ++++---- tpx3format/read.py | 1 + 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/requirements.txt b/requirements.txt index 6d8deab..6a24f1d 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,8 +1,8 @@ -h5py>=2.8.0,<3.2.0 +h5py>=2.8.0,<3.0.0 matplotlib>=3.0.0,<4.0.0 Pillow>9.0.0,<10.0.0 -tensorflow<2.7.0 +tensorflow<2.9.0 scipy>1.4.0,<2.0.0 -numpy>=1.16.0,<1.20.0 +numpy>=1.20.0,<1.23.0 tqdm>=4.0.0,<5.0 -mrcfile>1.0.0,<2.0.0 \ No newline at end of file +mrcfile>1.0.0,<2.0.0 diff --git a/tpx3format/read.py b/tpx3format/read.py index d0d2351..d9cf519 100644 --- a/tpx3format/read.py +++ b/tpx3format/read.py @@ -349,6 +349,7 @@ def parse_data_packages(positions, f, tot_correction, settings): # There may have been hits that were not parsed (failed package), resize those empty rows away. hits.resize((i,), refcheck=False) + # TODO: Make this marker pixel configureable. hits, min_toa, max_toa = marker_pixel(hits, {'x': 237, 'y': 176, 'chipId': 0}) if settings.hits_remove_cross: