From b48b2b1a92c8e4a49b6aa7b6f228ef0ec0dfdda2 Mon Sep 17 00:00:00 2001 From: Jan Grewe Date: Sat, 8 Aug 2020 12:42:02 +0200 Subject: [PATCH] tiny fixes --- docs/index.md | 3 +-- fishbook/frontend/relacs_classes.py | 2 +- fishbook_server/__init__.py | 0 3 files changed, 2 insertions(+), 3 deletions(-) create mode 100644 fishbook_server/__init__.py diff --git a/docs/index.md b/docs/index.md index 66e4f63..5173655 100644 --- a/docs/index.md +++ b/docs/index.md @@ -6,11 +6,10 @@ * [datajoint](https://datajoint.io) to connect to the database and to map python objects to table entries. * [nixio](https://github.com/g-node/nixpy) to read the relacs-flavored nix files during import or later during data retrieval. - ### Clone the repository ```shell - >> git clone https://whale.am28.uni-tuebingen.de/git/jgrewe/fishbook.git + >> git clone https://whale.am28.uni-tuebingen.de/git/jgrewe/fishbook.git ``` ### Install diff --git a/fishbook/frontend/relacs_classes.py b/fishbook/frontend/relacs_classes.py index 2c2dc6f..464318e 100644 --- a/fishbook/frontend/relacs_classes.py +++ b/fishbook/frontend/relacs_classes.py @@ -700,7 +700,7 @@ class FileStimulusData: stim_file = r_settings["file"] delay = 0.0 if "delay:" in map(str.lower, r_settings.keys()): - delay = float(s.split(":")[-1]) + delay = float(r_settings["delay"].split(":")[-1]) start_time = stimulus.start_time - delay end_time = stimulus.start_time + mt.extents[stimulus.index] duration = mt.extents[stimulus.index] diff --git a/fishbook_server/__init__.py b/fishbook_server/__init__.py new file mode 100644 index 0000000..e69de29