You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Potentially Misleading Error Message When Input File Is Missing (philosopher filter) #534
When running philosopher filter --pepxml non-existent.pepXML, if the specified input file does not exist, the tool outputs:
ERRO[12:42:19] Cannot read file. Error parsing the file
This message suggests a parsing error, implying that the file exists but is malformed. However, the actual issue is that the file is missing.
Expected Behavior:
The tool should check for the existence of the input file before attempting to parse it. If the file is missing, it should ideally output a clear and specific error message, such as:
ERROR: File not found: non-existent.pepXML
This would help users quickly identify the issue without misinterpreting the error as a parsing problem.
Steps to Reproduce:
Run philosopher filter --pepxml with a non-existent input file.
Observe the error message.
Environment:
Philosopher version: 5.1.0
OS: Ubuntu 22.04
Additional Context:
Improving this error message would enhance user experience by providing clearer guidance on the nature of the issue.
Activity