Skip to content
This repository has been archived by the owner on Aug 8, 2024. It is now read-only.

Commit

Permalink
Merge branch 'rf/ancp-layout' into get_collections
Browse files Browse the repository at this point in the history
  • Loading branch information
adelavega committed Dec 14, 2022
2 parents aff4ff9 + 917e51e commit cc44aa7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bids/layout/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
from .utils import BIDSMetadata


class BIDSFile(Artifact):
class BIDSFile:
"""Represents a single file or directory in a BIDS dataset.
Parameters
Expand Down Expand Up @@ -144,7 +144,7 @@ def get_entities(self, metadata=False, values='tags'):
except AttributeError:
raise NotImplementedError

if values == 'object':
if values != 'tags':
raise NotImplementedError

return entities
Expand Down

0 comments on commit cc44aa7

Please sign in to comment.