miicTeam / miic_R_package

Learning causal or non-causal graphical models using information theory
GNU General Public License v3.0
26 stars 3 forks source link

Error in summarizeResults when infered network has no edge #114

Closed franck-simon closed 1 year ago

franck-simon commented 3 years ago

In parseResults.R, line 61, the assignment of the is_causal field leads to an error when the infered network has no edge: " partial_correlation = numeric(n), is_causal = NA"

louise-rb-dupuis commented 1 year ago

Thank you for the documentation @franck-simon, parseResults.R was indeed causing problem in its management of empty datasets. Commit 806fbab049c889e3e470b8ee71a4e40086058eff fixes when using the R package. In addition, another problem about empty datasets management was identified on the server part and fixed !