tiny fixes

This commit is contained in:
Jan Grewe 2020-08-08 12:42:02 +02:00
parent 589286fad1
commit b48b2b1a92
3 changed files with 2 additions and 3 deletions

View File

@ -6,7 +6,6 @@
* [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

View File

@ -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]

View File