-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
Hi there,
Recently read your paper and really great work. I wanted to give the code a try. At the moment, I tried to follow the example in the manual you created but seem to get NoneType errors. Haven't spend time digging into the code, to exactly what is going on, but wanted to try my luck and ask you if you could perhaps create a simple input file and example script to toy around with?
I tried this:
The input file:
0,1,A,B
0,2,A,C
1,1,B,D
1,4,B,C
This gave no errors.
$ python events.py /tmp/data.csv /tmp/input.sqlite -t 0 -w 1
But here is where things went wrong.
python dynsnap.py /tmp/input.sqlite input.out -p -w -1
# file loaded: /tmp/input.sqlite
# Total time range: None None
# Columns: tlow thigh dt sim number_of_events
Traceback (most recent call last):
File "dynsnap.py", line 1260, in <module>
main(argv=sys.argv[1:], return_output=False)
File "dynsnap.py", line 1160, in main
x = finder.find()
File "dynsnap.py", line 480, in find
if self.tstart >= self.tstop:
TypeError: unorderable types: NoneType() >= NoneType()
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels