Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

87 decouple configuration from the core it does require to analyze how this is working #88

Conversation

jagalindo
Copy link
Member

I'm pr this that allows the use of something like this

from famapy.core.discover import DiscoverMetamodels # This loads the tool in the python execution environment
dm = DiscoverMetamodels() # Instantiate the class
result = dm.use_operation_from_file('ValidConfiguration', './allrelationships.xml',None, configuration_file='./empty.csvconf') # This launch the operation and stores the result on the result variable

and avoids the fixation of file names. Sadly it affects all other plugins. I'll be pr'ing on their repos

Please, @Virako take a look to see if everything is correct. Is basically a new embedded plugin that allows the reading of configurations

…still lacks the call to the metamodel with the configuration parser
…ic new metamodel provided with the core and with the possibility to be extended. Also, we can now use the command result = dm.use_operation_from_file('ValidConfiguration', './allrelationships.xml',None, configuration_file='./empty.csvconf') # This launch the operation and stores the result on the result variable
…uration-from-the-core-it-does-require-to-analyze-how-this-is-working
@Virako Virako merged commit 38923e1 into develop Jun 22, 2022
Virako added a commit that referenced this pull request Jun 22, 2022
… how this is working (#88) Close 87

* removing bad implementation of the configurations that do not allow multiple configuration formats
* partial commit that solves the configuration issue with elegance. It still lacks the call to the metamodel with the configuration parser
* Solving the issue with configurations, now, it Configuration is a basic new metamodel provided with the core and with the possibility to be extended. Also, we can now use the command result = dm.use_operation_from_file('ValidConfiguration', './allrelationships.xml',None, configuration_file='./empty.csvconf') # This launch the operation and stores the result on the result variable

Co-authored-by: Víctor Ramírez de la Corte <virako.9@gmail.com>
@jagalindo jagalindo deleted the 87-decouple-configuration-from-the-core-it-does-require-to-analyze-how-this-is-working branch August 18, 2022 23:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Decouple configuration from the core. It does require to analyze how this is working
2 participants