Replies: 2 comments
-
This might lead to a higher memory usage but, alternatively, could you supply
|
Beta Was this translation helpful? Give feedback.
-
Thanks for using Flair, and especially for suggesting ways to improve it. We're aware of the irritating complexity of running with map() inside a function. We're currently doing a major refactoring of Flair to make it easier to parallelize, so the need to implement your solution will hopefully no longer exist. For now please change it in your own code. I'm moving this ticket to our Discussion section so others will be able to find it. |
Beta Was this translation helpful? Give feedback.
-
Thank you for developing your tool.
I was wondering if you could make the core logic inside
collapse_isoforms_precise.py
run inside a main entry point (i.e. move all of the code outside the functions intoif __name__ == '__main__':
). Depending on how you run FLAIR, I've noticed that the global variables such asisoforms
are not accessible inside the worker functions for multiprocessing if you don't provide the main scope.Thanks!
Beta Was this translation helpful? Give feedback.
All reactions