Skip to content

Commit ed5e093

Browse files
committed
minor syntax clean
1 parent 53220d8 commit ed5e093

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

eegdash/data_utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -291,8 +291,8 @@ def get_recordings(self, layout: BIDSLayout):
291291
return files
292292

293293
def get_relative_bidspath(self, filename):
294-
bids_parent_dir = self.bidsdir.parent
295-
return str(Path(filename).relative_to(bids_parent_dir.absolute()))
294+
bids_parent_dir = self.bidsdir.parent.absolute()
295+
return str(Path(filename).relative_to(bids_parent_dir))
296296

297297
def get_property_from_filename(self, property, filename):
298298
import platform

eegdash/main.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -397,7 +397,6 @@ def get_base_dataset_from_bids_file(bids_dataset, bids_file):
397397
bids_dataset = EEGBIDSDataset(
398398
data_dir=data_dir,
399399
dataset=dataset,
400-
# raw_format=raw_format,
401400
)
402401
eegdashObj = EEGDash()
403402
datasets = Parallel(n_jobs=-1, prefer="threads", verbose=1)(

0 commit comments

Comments
 (0)