OpenGene / MutScan

Detect and visualize target mutations by scanning FastQ files directly
MIT License
149 stars 38 forks source link

HTML report can't work while copy it to windows, and may be a output directory needed. #6

Closed qins closed 6 years ago

qins commented 6 years ago

As main html file(coloRectS2.mutscan.html)'s code show: src='/home/foo/Work/Project/bar/coloRectS2.mutscan.html.files/index.html'

So, I can only use current directory as output directory?

Could you trim the header of the html report file path in main html's src code?

Thanks!

sfchen commented 6 years ago

You should copy xxxx.html, along with the folder xxxx.html.files, they should be kept together

qins commented 6 years ago

Yeah, they were kept together. Like this? 1

And I found the html kept linux's file path, it will be fine if only file names left. 2

Thanks for the quick reply~

sfchen commented 6 years ago

I see, I will fix this issue in future version.

Thanks.

sfchen commented 6 years ago

This is fixed.

Can you try the latest code by git?

qins commented 6 years ago

It works like a charm ;D

qins commented 6 years ago

Sorry, I tested it in current path. So did not find the html folder's wrong path in Linux which is fixed in current path, not with mutscan.html's full path

sfchen commented 6 years ago

Did you mean this bug is still not fixed?

qins commented 6 years ago

Yes. The mFolderName is not in the same path with mFilename.

mkdir(mFolderName.c_str(), 0777);

sfchen commented 6 years ago

Thanks, I see, I will fix it in minutes

sfchen commented 6 years ago

Just fixed it, could you try the latest code again?

Thanks for your testing.

qins commented 6 years ago

Solved. Appreciate your awesome work!

sfchen commented 6 years ago

Great, closing...