Compare commits
No commits in common. "314234fed875cf1d23da447fc6257867f1978f43" and "06b07bc59060d1a294a412f0cfba15049b587d60" have entirely different histories.
314234fed8
...
06b07bc590
1 changed files with 3 additions and 5 deletions
|
|
@ -3,7 +3,6 @@ import datalad.api as dl
|
||||||
import json
|
import json
|
||||||
import os
|
import os
|
||||||
from typing import Any
|
from typing import Any
|
||||||
from fnmatch import fnmatch
|
|
||||||
|
|
||||||
|
|
||||||
bi_corrs: list[str] = ["f_P", "fP", "f_p",
|
bi_corrs: list[str] = ["f_P", "fP", "f_p",
|
||||||
|
|
@ -299,7 +298,6 @@ def read_data(path: str, project: str, dir_in_project: str, prefix: str, param:
|
||||||
if not appended:
|
if not appended:
|
||||||
compact = (version[-1] == "c")
|
compact = (version[-1] == "c")
|
||||||
for i, item in enumerate(ls):
|
for i, item in enumerate(ls):
|
||||||
if fnmatch(item, prefix + "*"):
|
|
||||||
rep_path = directory + '/' + item
|
rep_path = directory + '/' + item
|
||||||
sub_ls = pe.input.sfcf._find_files(rep_path, prefix, compact, [])
|
sub_ls = pe.input.sfcf._find_files(rep_path, prefix, compact, [])
|
||||||
files_to_get.extend([rep_path + "/" + filename for filename in sub_ls])
|
files_to_get.extend([rep_path + "/" + filename for filename in sub_ls])
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue