validate icon indicating copy to clipboard operation
validate copied to clipboard

Validate 3.5.0-snapshot gives error when encountering Document objects/files used in other Document products.

Open radiosci opened this issue 9 months ago • 0 comments

Checked for duplicates

Yes - I've already checked

🐛 Describe the bug

Two versions of a Document include one ASCII text file and seven JPEG figure files; the ASCII files have a different file names, the JPEGs have the same file names. Validate throws an error upon encountering the JPEG file names because they have been used previously.

🕵️ Expected behavior

Previous versions of Validate have not flagged this situation as an error. SR 2A.3 (paragraph 2) prohibits use of observational data files in more than one product. The JPEGs (and the parent Document) are not observational data. There should be no error. I'm guessing that Validate has recently been upgraded to check for multiple uses of data objects/files. Its search needs to be narrowed to reuse of data objects containing observational data.

📜 To Reproduce

  1. I have not done this; but I think it should give the desired result (contact [email protected] for more info)
  2. Unzip and untag the attached bug?.tar.gz files
  3. Create a Collection using the two products
  4. Run Validate on the Collection

🖥 Environment Info

📚 Version of Software Used

validate 3.5.0-snapshot

🩺 Test Data / Additional context

bug1.tar.gz bug2.tar.gz

🦄 Related requirements

🦄 #xyz

⚙️ Engineering Details

No response

🎉 Integration & Test

No response

radiosci avatar May 21 '24 23:05 radiosci