Closed victorsanchezarevalo closed 1 month ago
can you tell me if you modify the outputPath
at any point or not?
what is the type of outputPath
and name
?
I believe you'll need to convert the outputPath
that you used to a string before you save the object.
I may be able to fix it for the next release as well so it doesn't need to be string but I wanted to make sure that causes the error before making any changes
Hi,
In the script that I have sent you it is defined the outputPath, let me now if you see any mistake, please.
Best
Victor
so if you look at the WGCNA API doc, the outputPath
should be string
but in the script you have it as a pathlib.PosixPath
and that cause the error.
you can fix it by converting the outputPath
to string
but I also released a new version yesterday to accept pathlib.PosixPath
as well as string
. so it's up to you if you want to upgrade your PyWGNCA package or change the type of your outputPath
.
If you still have this problem, please reopen this issue.