Closed jacob-lee closed 3 years ago
Referenced to issue: https://github.com/NDAR/nda-tools/issues/34
Good afternoon, we have merged this, but unfortunately we cannot seem to get GitHub to mark this as successfully merged. Here is a link to your commit in the repository: https://github.com/NDAR/nda-tools/commit/8b41252e2afd761cffba2629660bb32cc3e4b2ca we'll be marking this pull request as closed (as well as the issue associated with it). Thank you for your contribution.
My submission with custom scope was failing, not recognizing the column aliases I was using; when I tried validating using the online web tool, it validated successfully. So I ran with the pdb debugger and saw that the scope argument resolved to the first character of the scope or collection ID I was submitting under. When I made the proposed change, the data successfully validated, and I was able to submit using nda-tools.
I note that the argument parser for --scope indicates that the type is
str
, so it seemed a safe fix to create a pull request on.