Closed quantumjot closed 1 year ago
https://github.com/lowe-lab-ucl/cellx-predict/blob/36fe74354fcb8251167a8d9c0fc9a18474a68141/cellxpredict/session.py#L9-L12
Update json_data dict with the list of tfrecord files in config.src_dir: https://github.com/lowe-lab-ucl/cellx-predict/blob/36fe74354fcb8251167a8d9c0fc9a18474a68141/cellxpredict/config.py#L18
json_data
config.src_dir
Should just be able to do something like:
src_files = list(Path(config.src_dir).glob("*.tfrecord")) json_data.update({"src_files": src_files})
https://github.com/lowe-lab-ucl/cellx-predict/blob/36fe74354fcb8251167a8d9c0fc9a18474a68141/cellxpredict/session.py#L9-L12
Update
json_data
dict with the list of tfrecord files inconfig.src_dir
: https://github.com/lowe-lab-ucl/cellx-predict/blob/36fe74354fcb8251167a8d9c0fc9a18474a68141/cellxpredict/config.py#L18