Closed SteffenBrinckmann closed 1 month ago
@jmurugan-fzj I had to change data_upload_task.py since the argument was wrong. Should I have done that? I guess that made the pytest fail. Otherwise, this is ready for review
exportELN function
@SteffenBrinckmann Could you quickly describe the signature of the exportELN function with the new changes as part of the PR? I will create a separate PR for the data_upload_task.py changes then!
@jmurugan-fzj This should be the signature of the export-function def exportELN(backend:Backend, projectIDs:list[str], fileName:str, dTypes:list[str]=[], verbose:bool=False) -> str: """ export eln to file
Args: backend (backend): PASTA backend instance projectIDs (list): list of docIds of projects fileName (str): fileName which to use for saving dTypes (list): list of strings which should be included in the output, alongside folders x0 & x1; empty list=everything is exported verbose (bool): verbose
Returns: str: report of exportation """
@jmurugan-fzj This is the branch with the new and updated exportELN function in inputOutput.py. The inputELN function is not updated yet, hence not a finalized PR