Closed aldro61 closed 4 years ago
Sure, will do!
Can you just remove the f-string formatting in your cdt/utils/R.py, PC and SID implementations ? So that way I will be able to merge your contribution directly. Thank you!
Hey @Diviyan-Kalainathan! Sorry for the delay, I removed the f-strings. Didn't have time to convert the rest of the CDT though.
Hi @Diviyan-Kalainathan,
I had some issues using the SID metric in a multiprocessing setting, since all processes were using the same directory name (and deleting it upon completion). I fixed this in SID.
Then I realized that the code was using /tmp instead of fetching the system's default temporary directory using
gettempdir()
. I modifiedlaunch_R_script
andPC
to use this. I think it's worth it to convert the other functions, since this will facilitate using the CDT on various platforms.What do you think?
Cheers, Alex