-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Description
Dear Marc Jan Bonder,
I am sharing what I have noticed to see if other people had the same error.
I have noticed syntax errors in both [run_QTL_analysis.py] and the [run_interaction_QTL_analysis.py].
The error was below in my log file:
File "Limix_QTL/run_QTL_analysis.py", line 161
print("Feature: "+feature_id+" not tested not enough samples do QTL test (n="+str(sum(~np.isnan(phenotype_df.loc[feature_id,:])))+").")")
^
SyntaxError: EOL while scanning string literal
And I have modified the code to be below:
print("Feature: "+feature_id+" not tested not enough samples do QTL test (n="+str(sum(~np.isnan(phenotype_df.loc[feature_id,:])))+")")
Another error I have noticed is that while I was running the run_interaction_QTL_analysis.py
The error was below
UnboundLocalError: local variable 'u_snp_matrix' referenced before assignment
And I have included this before line 618 of the qtl_utilities.py
if not isinstance(snp_matrix_DF, pd.DataFrame):
snp_matrix_DF = pd.DataFrame(snp_matrix_DF)
It seems to be running and providing results :) Let me know if this works too π
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels