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
The FitEmissionParameters function make use of if 'Pseudo' in Sequences: statements to verify if the pseudo-gene has been added to the Sequences file. However, if the h5py file handle is closed, the if statement will return a False value without throwing an error. Using if 'Pseudo' in list(Sequences.keys()) will throw an error if the file handle is closed.
This is an issue because several functions called from FitEmissionParameters seem to be returning closed file handles. Therefore the tests at the end of FitEmissionParameters are all being evaluated as False.
The text was updated successfully, but these errors were encountered:
simojoe
changed the title
Close h5py handles
Closed h5py handles - FitEmissionParameters
Aug 5, 2020
The
FitEmissionParameters
function make use ofif 'Pseudo' in Sequences:
statements to verify if the pseudo-gene has been added to the Sequences file. However, if the h5py file handle is closed, theif
statement will return aFalse
value without throwing an error. Usingif 'Pseudo' in list(Sequences.keys())
will throw an error if the file handle is closed.This is an issue because several functions called from
FitEmissionParameters
seem to be returning closed file handles. Therefore the tests at the end ofFitEmissionParameters
are all being evaluated asFalse
.The text was updated successfully, but these errors were encountered: