Uploaded image for project: 'ROOT'
  1. ROOT
  2. ROOT-10942

[DF] Regression in recognition of nested branch names

    XMLWordPrintable

    Details

      Description

      First reported on the forum:

         struct c_t{
           double a;
           double b;
         };
       
         void p1_read()
         {
           struct c_t c;
           c.a = 1;
           c.b = 2;
           TFile * f1 = new TFile("f1.root","RECREATE");
           TTree * t1 = new TTree("t1", "t1");
           t1->Branch("c",&c);
           t1->Fill();
           t1->Fill();
       
           t1->Write();
           f1->Close();
       
           ROOT::RDataFrame aData("t1", "f1.root");
           aData.Display("a")->Print();
         }
      

      fails to recognize "a" or "c.a" as a valid column name.

        Attachments

          Activity

            People

            Assignee:
            pcanal Philippe Canal
            Reporter:
            eguiraud Enrico Guiraud
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: