3c680c10486e1a39789b5505a531c7ee4165607a,tests/conftest.py,,read_file_list,#,64
Before Change
:return: List[str]
directory = os.path.join(static_dir, "tests/files/")
if worker_id() == "master":
logger.info("Collecting file lists from: {}".format(directory))
files = os.walk(directory)
file_list = []
for root, _, filenames in files:
for filename in filenames:
After Change
:return: List[str]
this_dir = os.path.abspath(os.path.dirname(os.path.abspath(__file__)))
directory = os.path.join(this_dir, "..")
logger.info("Collecting file lists from: {}".format(directory))
file_list = []
for root, _, filenames in os.walk(directory):
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 7
Instances
Project Name: openml/openml-python
Commit Name: 3c680c10486e1a39789b5505a531c7ee4165607a
Time: 2021-02-12
Author: feurerm@informatik.uni-freiburg.de
File Name: tests/conftest.py
Class Name:
Method Name: read_file_list
Project Name: ricsinaruto/Seq2seqChatbots
Commit Name: 3b9042c743facfbd1e641784f21e29a95db2aac2
Time: 2018-09-20
Author: purgai.patrik@gmail.com
File Name: t2t_csaky/data_filtering/semantic_clustering.py
Class Name:
Method Name:
Project Name: openml/openml-python
Commit Name: 3c680c10486e1a39789b5505a531c7ee4165607a
Time: 2021-02-12
Author: feurerm@informatik.uni-freiburg.de
File Name: tests/conftest.py
Class Name:
Method Name: read_file_list
Project Name: xinntao/BasicSR
Commit Name: 23a45d5eb839c763c94c0e413ad599d9f9b5e184
Time: 2018-09-06
Author: wxt1994@126.com
File Name: codes/scripts/create_lmdb.py
Class Name:
Method Name: