Skip to content

Commit

Permalink
bugfix: with some new signatures, need to remove duplicates
Browse files Browse the repository at this point in the history
  • Loading branch information
oliche committed Nov 29, 2024
1 parent 136d6e0 commit faecc64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ibllib/oneibl/data_handlers.py
Original file line number Diff line number Diff line change
Expand Up @@ -563,7 +563,7 @@ def getData(self, one=None):
one = one or self.one
session_datasets = one.list_datasets(one.path2eid(self.session_path), details=True)
dfs = [file.filter(session_datasets)[1] for file in self.signature['input_files']]
return one._cache.datasets.iloc[0:0] if len(dfs) == 0 else pd.concat(dfs)
return one._cache.datasets.iloc[0:0] if len(dfs) == 0 else pd.concat(dfs).drop_duplicates()

def getOutputFiles(self):
"""
Expand Down

0 comments on commit faecc64

Please sign in to comment.