NASA-PDS / doi-service

Service and tools for generating DOIs for PDS bundles, collections, and data sets
https://nasa-pds.github.io/doi-service
Other
2 stars 3 forks source link

doi-service does not process files with "lblx" file extension #416

Open rsjoyner opened 9 months ago

rsjoyner commented 9 months ago

Checked for duplicates

No - I haven't checked

🐛 Describe the bug

Used this command to process 3 files each with extension of ".lblx".:

pds-doi-cmd release -N geo -s rsjoyner@jpl.nasa.gov -i /home/pds4/input/GEO/GEO_Mars_Sample_Dosier_20230926/ --no-review --force > /home/pds4/input/result_activate_no_review_GEO_Mars_Sample_Dosier_20230926.json

Received error: Please ensure the input is of the following type(s): .xml, .json

PDS4 approved use of ".lblx" for PDS4 XML labels. So, tools need (or will need) accept the new file extension for XML labels.

🕵️ Expected behavior

I expected the doi-service to process XML labels having "lblx" extension

📜 To Reproduce

  1. pds-doi-cmd release -N geo -s rsjoyner@jpl.nasa.gov -i /home/pds4/input/GEO/GEO_Mars_Sample_Dosier_20230926/ --no-review --force > /home/pds4/input/result_activate_no_review_GEO_Mars_Sample_Dosier_20230926.json
  2. Review processing stats
  3. ...

🖥 Environment Info

📚 Version of Software Used

No response

🩺 Test Data / Additional context

Interestingly, I attempted to attach one of the test ".lblx" files here and the file was rejected. The ".lblx" is not a supported file type....

🦄 Related requirements

🦄 #xyz

⚙️ Engineering Details

No response

tloubrieu-jpl commented 7 months ago

Hi @rsjoyner ,

We will look at this issue. You can add your .lblx file by zipping it before you attach it.

Thanks,

Thomas