NDAR / nda-tools

Python package for interacting with NDA web services. Used to validate, submit, and download data to and from NDA.
MIT License
48 stars 22 forks source link

support full paths in the file list .csv #15

Open yarikoptic opened 5 years ago

yarikoptic commented 5 years ago

related to #14

ATM, as shown in #14 traceback:

  File "/home/XXX/proj/nda-tools/NDATools/Submission.py", line 352, in batch_update_status
    list_data = self.generate_data_for_request(status)
  File "/home/XXX/proj/nda-tools/NDATools/Submission.py", line 132, in generate_data_for_request
    size = self.full_file_path[file][1]
KeyError: 'data/NDA/output_v2/sub-719218_ses-01_task-rest_acq-MB8_run-01_bold.metadata.zip'

full paths were generated by bids2nda tool, the issue to request storing relative paths is filed: https://github.com/bids-standard/bids2nda/issues/19