Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
sappelhoff committed Nov 23, 2024
1 parent 3af1315 commit 0ec570f
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Documentation
# https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file
version: 2
updates:
- package-ecosystem: "github-actions"
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,6 @@ htmlcov/
.venv
.idea
.ruff_cache
*.vmrk
*.eeg
*.vhdr
5 changes: 3 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,9 @@
import pybv

curdir = Path(__file__).parent
sys.path.append((curdir / ".." / "pybv").resolve())
sys.path.append((curdir / ".." / "sphinxext").resolve())

sys.path.append((curdir.parent / "pybv").resolve().as_posix())
sys.path.append((curdir / "sphinxext").resolve().as_posix())

# see: https://sphinx.readthedocs.io/en/1.3/extensions.html
extensions = [
Expand Down
2 changes: 1 addition & 1 deletion pybv/io.py
Original file line number Diff line number Diff line change
Expand Up @@ -606,7 +606,7 @@ def _write_vmrk_file(vmrk_fname, eeg_fname, events, meas_date):
print("", file=fout)
print("[Common Infos]", file=fout)
print("Codepage=UTF-8", file=fout)
print(f"DataFile={eeg_fname.split(os.sep)[-1]}", file=fout)
print(f"DataFile={eeg_fname.name}", file=fout)
print("", file=fout)
print("[Marker Infos]", file=fout)
print(
Expand Down

0 comments on commit 0ec570f

Please sign in to comment.