score class in the XML serialization #225

Merged
claudio.atzori merged 1 commits from measure_serialization into beta 2022-07-01 10:53:49 +02:00

This PR includes the class information in the measure XML serialization, which changes from

  <measure id="influence" key="score" value="5.06690394631e-09"/>
  <measure id="popularity_alt" key="score" value="0.0"/>
  <measure id="popularity"  key="score" value="3.11855618382e-09"/>
  <measure id="influence_alt"  key="score" value="0.0"/>
  <measure id="impulse"  key="score" value="0.0"/>

to

  <measure id="influence" score="5.06690394631e-09" class="C"/>
  <measure id="popularity_alt" score="0.0" class="C"/>
  <measure id="popularity" score="3.11855618382e-09" class="C"/>
  <measure id="influence_alt" score="0.0" class="C"/>
  <measure id="impulse" score="0.0" class="C"/>

Note also that the attributes are renamed, I think the updated serialisation is simpler.

This PR includes the class information in the measure XML serialization, which changes from ``` <measure id="influence" key="score" value="5.06690394631e-09"/> <measure id="popularity_alt" key="score" value="0.0"/> <measure id="popularity" key="score" value="3.11855618382e-09"/> <measure id="influence_alt" key="score" value="0.0"/> <measure id="impulse" key="score" value="0.0"/> ``` to ``` <measure id="influence" score="5.06690394631e-09" class="C"/> <measure id="popularity_alt" score="0.0" class="C"/> <measure id="popularity" score="3.11855618382e-09" class="C"/> <measure id="influence_alt" score="0.0" class="C"/> <measure id="impulse" score="0.0" class="C"/> ``` Note also that the attributes are renamed, I think the updated serialisation is simpler.
claudio.atzori added the
enhancement
label 2022-07-01 10:01:11 +02:00
alessia.bardi was assigned by claudio.atzori 2022-07-01 10:01:11 +02:00
miriam.baglioni was assigned by claudio.atzori 2022-07-01 10:01:11 +02:00
claudio.atzori added 1 commit 2022-07-01 10:01:12 +02:00

I am not familiar with the exact input provided by BIP!Finder, but I think this PR is ok.

I am not familiar with the exact input provided by BIP!Finder, but I think this PR is ok.

The PR is ok to me as well

The PR is ok to me as well
claudio.atzori merged commit 138d1dfbf8 into beta 2022-07-01 10:53:49 +02:00
claudio.atzori deleted branch measure_serialization 2022-07-01 10:53:56 +02:00
Sign in to join this conversation.
No description provided.