@surchs stated interest in making ancpBIDS run in the browser using pyodide. For ancpBIDS to access a directory on the file system from within the browser, there needs to be an abstraction between ancpBIDS and the storage backend.
In particular, calls to os.* have to be refactored to an abstract interface whose implementations would relay access to either the local file system or the browser's file system API.
@surchs stated interest in making ancpBIDS run in the browser using pyodide. For ancpBIDS to access a directory on the file system from within the browser, there needs to be an abstraction between ancpBIDS and the storage backend.
In particular, calls to os.* have to be refactored to an abstract interface whose implementations would relay access to either the local file system or the browser's file system API.