cdfarrow / flextools

Python scripting utility for SIL FieldWorks Language Explorer (FLEx)
Other
16 stars 5 forks source link

Option to run a module without opening a FLEx database #29

Open rmlockwood opened 1 year ago

rmlockwood commented 1 year ago

Some of my FLExTrans module are just doing data conversion. I don't need to open a FLEx database. I would be nice to have the option of not opening any FLEx database.

cdfarrow commented 1 year ago

Is your concern about performance or something else? If you are running a batch of modules then the project is opened once at the beginning and closed at the end, so it doesn't really make any difference if some of the modules don't need access to the database.

rmlockwood commented 1 year ago

I guess my concern is performance. It’s good to know that for a series of modules being run, the project is just opened once. I do have several Tools modules that don’t do anything with the FLEx projects. I would be nice to save some time on those.