File tree Expand file tree Collapse file tree 1 file changed +1
-14
lines changed
Expand file tree Collapse file tree 1 file changed +1
-14
lines changed Original file line number Diff line number Diff line change @@ -2041,23 +2041,10 @@ std::string printValue(ROOT::RDataFrame *df)
20412041 throw std::runtime_error (" Cannot print information about this RDataFrame, "
20422042 " it was not properly created. It must be discarded." );
20432043 }
2044- auto *tree = lm->GetTree ();
20452044 auto defCols = lm->GetDefaultColumnNames ();
20462045
20472046 std::ostringstream ret;
2048- if (tree) {
2049- ret << " A data frame built on top of the " << tree->GetName () << " dataset." ;
2050- if (!defCols.empty ()) {
2051- if (defCols.size () == 1 )
2052- ret << " \n Default column: " << defCols[0 ];
2053- else {
2054- ret << " \n Default columns:\n " ;
2055- for (auto &&col : defCols) {
2056- ret << " - " << col << " \n " ;
2057- }
2058- }
2059- }
2060- } else if (auto ds = df->GetDataSource ()) {
2047+ if (auto ds = df->GetDataSource ()) {
20612048 ret << " A data frame associated to the data source \" " << cling::printValue (ds) << " \" " ;
20622049 } else {
20632050 ret << " An empty data frame that will create " << lm->GetNEmptyEntries () << " entries\n " ;
You can’t perform that action at this time.
0 commit comments