Add action set creation for Datacite affiliations #413

Merged
miriam.baglioni merged 2 commits from 9647_datacite_affiliations into beta 2024-04-02 17:33:39 +02:00
Member

Adds parsing and creation of action sets for affiliation relations extracted from Datacite.

NOTE: the dataciteInputPath parameter needs to be added to the respective profile that executes this WF

Adds parsing and creation of action sets for affiliation relations extracted from Datacite. **NOTE**: the `dataciteInputPath` parameter needs to be added to the respective profile that executes this WF
claudio.atzori was assigned by schatz 2024-04-01 16:27:42 +02:00
miriam.baglioni was assigned by schatz 2024-04-01 16:27:42 +02:00
schatz added 1 commit 2024-04-01 16:27:43 +02:00
Author
Member

When trying to execute this WF, I get the following errors during compilation:

[INFO] Compiling 18 Scala sources and 102 Java sources to /Users/serafeim/projects/dnet-hadoop/dhp-workflows/dhp-aggregation/target/classes ...
[ERROR] [Error] /Users/serafeim/projects/dnet-hadoop/dhp-workflows/dhp-aggregation/src/main/scala/eu/dnetlib/dhp/datacite/DataciteToOAFTransformation.scala:8: object IdentifierFactory is not a member of package eu.dnetlib.dhp.schema.oaf.utils
[ERROR] [Error] /Users/serafeim/projects/dnet-hadoop/dhp-workflows/dhp-aggregation/src/main/scala/eu/dnetlib/dhp/datacite/DataciteToOAFTransformation.scala:292: not found: value IdentifierFactory
[ERROR] [Error] /Users/serafeim/projects/dnet-hadoop/dhp-workflows/dhp-aggregation/src/main/scala/eu/dnetlib/dhp/datacite/DataciteToOAFTransformation.scala:619: not found: value IdentifierFactory
[ERROR] [Error] /Users/serafeim/projects/dnet-hadoop/dhp-workflows/dhp-aggregation/src/main/scala/eu/dnetlib/dhp/sx/bio/pubmed/PubMedToOaf.scala:5: object IdentifierFactory is not a member of package eu.dnetlib.dhp.schema.oaf.utils
[ERROR] [Error] /Users/serafeim/projects/dnet-hadoop/dhp-workflows/dhp-aggregation/src/main/scala/eu/dnetlib/dhp/sx/bio/pubmed/PubMedToOaf.scala:144: not found: value PidType
[ERROR] [Error] /Users/serafeim/projects/dnet-hadoop/dhp-workflows/dhp-aggregation/src/main/scala/eu/dnetlib/dhp/sx/bio/pubmed/PubMedToOaf.scala:145: not found: value PidType
[ERROR] [Error] /Users/serafeim/projects/dnet-hadoop/dhp-workflows/dhp-aggregation/src/main/scala/eu/dnetlib/dhp/sx/bio/pubmed/PubMedToOaf.scala:154: not found: value PidType
[ERROR] [Error] /Users/serafeim/projects/dnet-hadoop/dhp-workflows/dhp-aggregation/src/main/scala/eu/dnetlib/dhp/sx/bio/pubmed/PubMedToOaf.scala:155: not found: value PidType
[ERROR] [Error] /Users/serafeim/projects/dnet-hadoop/dhp-workflows/dhp-aggregation/src/main/scala/eu/dnetlib/dhp/sx/bio/pubmed/PubMedToOaf.scala:171: not found: value PidType
[ERROR] [Error] /Users/serafeim/projects/dnet-hadoop/dhp-workflows/dhp-aggregation/src/main/scala/eu/dnetlib/dhp/sx/bio/pubmed/PubMedToOaf.scala:172: not found: value PidType
[ERROR] [Error] /Users/serafeim/projects/dnet-hadoop/dhp-workflows/dhp-aggregation/src/main/scala/eu/dnetlib/dhp/sx/bio/pubmed/PubMedToOaf.scala:316: not found: value IdentifierFactory

which are not related to the changes introduced in this PR

When trying to execute this WF, I get the following errors during compilation: ``` [INFO] Compiling 18 Scala sources and 102 Java sources to /Users/serafeim/projects/dnet-hadoop/dhp-workflows/dhp-aggregation/target/classes ... [ERROR] [Error] /Users/serafeim/projects/dnet-hadoop/dhp-workflows/dhp-aggregation/src/main/scala/eu/dnetlib/dhp/datacite/DataciteToOAFTransformation.scala:8: object IdentifierFactory is not a member of package eu.dnetlib.dhp.schema.oaf.utils [ERROR] [Error] /Users/serafeim/projects/dnet-hadoop/dhp-workflows/dhp-aggregation/src/main/scala/eu/dnetlib/dhp/datacite/DataciteToOAFTransformation.scala:292: not found: value IdentifierFactory [ERROR] [Error] /Users/serafeim/projects/dnet-hadoop/dhp-workflows/dhp-aggregation/src/main/scala/eu/dnetlib/dhp/datacite/DataciteToOAFTransformation.scala:619: not found: value IdentifierFactory [ERROR] [Error] /Users/serafeim/projects/dnet-hadoop/dhp-workflows/dhp-aggregation/src/main/scala/eu/dnetlib/dhp/sx/bio/pubmed/PubMedToOaf.scala:5: object IdentifierFactory is not a member of package eu.dnetlib.dhp.schema.oaf.utils [ERROR] [Error] /Users/serafeim/projects/dnet-hadoop/dhp-workflows/dhp-aggregation/src/main/scala/eu/dnetlib/dhp/sx/bio/pubmed/PubMedToOaf.scala:144: not found: value PidType [ERROR] [Error] /Users/serafeim/projects/dnet-hadoop/dhp-workflows/dhp-aggregation/src/main/scala/eu/dnetlib/dhp/sx/bio/pubmed/PubMedToOaf.scala:145: not found: value PidType [ERROR] [Error] /Users/serafeim/projects/dnet-hadoop/dhp-workflows/dhp-aggregation/src/main/scala/eu/dnetlib/dhp/sx/bio/pubmed/PubMedToOaf.scala:154: not found: value PidType [ERROR] [Error] /Users/serafeim/projects/dnet-hadoop/dhp-workflows/dhp-aggregation/src/main/scala/eu/dnetlib/dhp/sx/bio/pubmed/PubMedToOaf.scala:155: not found: value PidType [ERROR] [Error] /Users/serafeim/projects/dnet-hadoop/dhp-workflows/dhp-aggregation/src/main/scala/eu/dnetlib/dhp/sx/bio/pubmed/PubMedToOaf.scala:171: not found: value PidType [ERROR] [Error] /Users/serafeim/projects/dnet-hadoop/dhp-workflows/dhp-aggregation/src/main/scala/eu/dnetlib/dhp/sx/bio/pubmed/PubMedToOaf.scala:172: not found: value PidType [ERROR] [Error] /Users/serafeim/projects/dnet-hadoop/dhp-workflows/dhp-aggregation/src/main/scala/eu/dnetlib/dhp/sx/bio/pubmed/PubMedToOaf.scala:316: not found: value IdentifierFactory ``` which are not related to the changes introduced in this PR
schatz added 1 commit 2024-04-02 17:00:42 +02:00
schatz changed title from WIP: Add action set creation for Datacite affiliations to Add action set creation for Datacite affiliations 2024-04-02 17:25:44 +02:00
Author
Member

Issue resolved after compiling from the root folder of the project! Thanks @miriam.baglioni

Issue resolved after compiling from the root folder of the project! Thanks @miriam.baglioni
miriam.baglioni merged commit 4f0a044245 into beta 2024-04-02 17:33:39 +02:00
Sign in to join this conversation.
No description provided.