flamapy / flamapy_fw

This repository hosts the main components of flamapy
4 stars 5 forks source link

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

Closed jagalindo closed 2 years ago

jagalindo commented 2 years ago

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