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