Commit 69963d1e authored by Thonier Florian's avatar Thonier Florian

fuse.py; add a fct to get the position by filename

link to #3902
parent 3b7bc561
......@@ -715,6 +715,10 @@ class ListWindows(VidjilJson):
return obj_dict
def get_filename_pos(self, filename):
""" filename is the key of distributions repertoires """
return self.d["samples"].d["original_names"].index(filename)
### some data used for test
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment