Closed hfl112 closed 4 years ago
Hi hfl112,
I am pretty sure this is due the MacOS behaviour to include hidden .[something].mcd
files into the Zip archive. I pushed again to get this resolved in imctools (https://github.com/BodenmillerGroup/imctools/issues/43).
Two solutions:
1) try another way to zip, or manually delete the hidden .mcd
file from your zip archive
2) Actually it is also possible to have unzipped folders with 1 .mcd file each. In this case one would need to change the 'file_regexp = '.*.zip'' to something that recognizes the folder name.
E.g. if you make your folder names end in _mcdac
, you could change this to: 'file_regexp = '.*_mcdac''
Again also for 2) one needs to make sure that no hidden .mcd
files are around.
Let me know if this helps!
Hi hfl112, I am pretty sure this is due the MacOS behaviour to include hidden
.[something].mcd
files into the Zip archive. I pushed again to get this resolved in imctools (BodenmillerGroup/imctools#43). Two solutions:
- try another way to zip, or manually delete the hidden
.mcd
file from your zip archive- Actually it is also possible to have unzipped folders with 1 .mcd file each. In this case one would need to change the 'fileregexp = '..zip'' to something that recognizes the folder name. E.g. if you make your folder names end in
_mcdac
, you could change this to: 'file_regexp = '.__mcdac''Again also for 2) one needs to make sure that no hidden
.mcd
files are around.Let me know if this helps!
Hi votti,
It indeed related to the MacOS zip file with corresponding MACOSX file folder. I just used "zip -d xxx.zip "MACOSX*" to delete all the files redundant, it worked.
Thank you for the help,
hfl
I can't load the zip file (each zip have a mcd file, not txt files) successfully.
Any advices might be appreciated, Thank you