Skip to content

Commit

Permalink
Add exception for error cyvcf2 '_bcf_float_missing'
Browse files Browse the repository at this point in the history
  • Loading branch information
tjstruck committed Jun 10, 2024
1 parent e4df957 commit 7c74154
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions dadi_cli/GenerateFs.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@ def generate_fs(
except ModuleNotFoundError:
print("Unable to load cyvcf2 and check if ancestral alleles are in provided VCF.\n"+
"Generated FS may be empty if ancestral allele not found.")
except ImportError:
print("Error importing cyvcf2")

if subsample:
subsample_dict = {}
Expand Down

0 comments on commit 7c74154

Please sign in to comment.