Skip to content

AttributeError: 'OCEL' object has no attribute 'process_execution_mappings' #1

@ty5201314

Description

@ty5201314

I tried to run your source code, but there was an error as follows:
Traceback (most recent call last):
File "D:\OCELFeatureExtractionExperiments-main\experiments.py", line 85, in
feature_storage = feature_extraction.apply(ocel, F, [])
File "D:\OCELFeatureExtractionExperiments-main\ocpa\algo\feature_extraction\factory.py", line 128, in apply
node.add_attribute(event_feature,VERSIONS[EVENT_BASED][event_function](node,ocel, params))
File "D:\OCELFeatureExtractionExperiments-main\ocpa\algo\feature_extraction\event_based_features\extraction_functions.py", line 164, in remaining_time
cases = ocel.process_execution_mappings[e_id]
AttributeError: 'OCEL' object has no attribute 'process_execution_mappings'

When I tried to correct this error, I found that there was still a problem with the subsequent execution. Does the source code need to be modified before it can be executed? I sincerely hope to get your reply.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions