Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Validate can't find files in directory specified by <directory_path_name> #474

Closed
jennifergward opened this issue Feb 1, 2022 · 3 comments

Comments

@jennifergward
Copy link

jennifergward commented Feb 1, 2022

🐛 Describe the bug

I'm running validate on a label that refers to images located in a subdirectory. The label specifies the <file_name> and the <directory_path_name>, but validate seems to be skipping the <directory_path_name> when it's looking for the images and gives a "The system cannot find the file specified" error. Older version of validate do not give this error.

📜 To Reproduce

Steps to reproduce the behavior:
Run validate on the attached folder: validate document_rise\ -R pds4.folder -r validate_report.txt

🕵️ Expected behavior

I expect validate to look in document_rise\RISE_InSight_SIS_Raw_files\ for the images instead of document_rise, as it seems to be doing in the validation report.

📚 Version of Software Used

V2.1.4

🩺 Test Data / Additional context

document_rise.zip
validate_report.txt

🏞Screenshots

🖥 System Info

OS: Windows 10


🦄 Related requirements

⚙️ Engineering Details

Looks like this issue is related to an issue with handling of the file path. should re-work this to use url objects.

@jordanpadams
Copy link
Member

@jennifergward noted this bug and we will take a look

@jordanpadams
Copy link
Member

resolved per #579

@miguelp1986
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants