tiny fixes
This commit is contained in:
parent
589286fad1
commit
b48b2b1a92
@ -6,11 +6,10 @@
|
|||||||
* [datajoint](https://datajoint.io) to connect to the database and to map python objects to table entries.
|
* [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.
|
* [nixio](https://github.com/g-node/nixpy) to read the relacs-flavored nix files during import or later during data retrieval.
|
||||||
|
|
||||||
|
|
||||||
### Clone the repository
|
### Clone the repository
|
||||||
|
|
||||||
```shell
|
```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
|
### Install
|
||||||
|
@ -700,7 +700,7 @@ class FileStimulusData:
|
|||||||
stim_file = r_settings["file"]
|
stim_file = r_settings["file"]
|
||||||
delay = 0.0
|
delay = 0.0
|
||||||
if "delay:" in map(str.lower, r_settings.keys()):
|
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
|
start_time = stimulus.start_time - delay
|
||||||
end_time = stimulus.start_time + mt.extents[stimulus.index]
|
end_time = stimulus.start_time + mt.extents[stimulus.index]
|
||||||
duration = mt.extents[stimulus.index]
|
duration = mt.extents[stimulus.index]
|
||||||
|
0
fishbook_server/__init__.py
Normal file
0
fishbook_server/__init__.py
Normal file
Loading…
Reference in New Issue
Block a user