You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Testing the framework as an end-user, I perform the following commands with success :)
from famapy.core.discover import DiscoverMetamodels
dm = DiscoverMetamodels()
result = dm.use_operation_from_file(operation, filename)
However, which implementation of the operation (e.g., sat, fm, bdd) take it by default?
I am using a feature model in FeatureIDE (extension .fide), and it is taking the FM_METAMODELS operations by default in all cases.
Operations work for those that are defined in the FM plugin but not for those that are defined in other plugins but not in FM.
How can I select the specific implementation?
I've tried with the concrete name of the implementation (e.g,. Glucose3ProductsNumber), but it doesn't work, obtaining an NotImplementedError: Way to execute operation not found.
Other related minor issues:
Moreover, the real extension for feature models in FeatureIDE is .xml. The extension .fide is artifitial, but for .xml the default reader is the xml_reader. So, if we do not change the extension of FeatureIDE models from .xml to .fide it will fail.
Also, operation and filename expected str types as input. It should be documented.
The text was updated successfully, but these errors were encountered:
Testing the framework as an end-user, I perform the following commands with success :)
However, which implementation of the operation (e.g., sat, fm, bdd) take it by default?
I am using a feature model in FeatureIDE (extension .fide), and it is taking the FM_METAMODELS operations by default in all cases.
Operations work for those that are defined in the FM plugin but not for those that are defined in other plugins but not in FM.
How can I select the specific implementation?
I've tried with the concrete name of the implementation (e.g,. Glucose3ProductsNumber), but it doesn't work, obtaining an
NotImplementedError: Way to execute operation not found
.Other related minor issues:
Moreover, the real extension for feature models in FeatureIDE is
.xml
. The extension.fide
is artifitial, but for.xml
the default reader is thexml_reader
. So, if we do not change the extension of FeatureIDE models from.xml
to.fide
it will fail.Also,
operation
andfilename
expectedstr
types as input. It should be documented.The text was updated successfully, but these errors were encountered: