LiuzLab / AI_MARRVEL

AI-MARRVEL (AIM) is an AI system for rare genetic disorder diagnosis
GNU General Public License v3.0
8 stars 5 forks source link

Add error handling and output.json for proc.sh #22

Closed jylee-bcm closed 3 months ago

jylee-bcm commented 3 months ago

Previously, the proc.sh script did not handle errors and continued running despite encountering issues. This update introduces error handling and generates a machine-readable output.json file. This change ensures that errors are properly managed and allows the frontend to respond appropriately based on the JSON output.

Notably, this update handles the specific case (Issue #19, and possibly #21) where all variants are filtered out by the blacklist.

I know the approach did not get the consensus, so will leave it as a draft PR until we all reach to a consensus.

jylee-bcm commented 3 months ago

The work will be finished with PR #24