Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Case sensitive file names issue #1

Closed
courcelm opened this issue Jan 29, 2020 · 2 comments
Closed

Case sensitive file names issue #1

courcelm opened this issue Jan 29, 2020 · 2 comments

Comments

@courcelm
Copy link

The following test fails on Ubuntu 16.04.4 LTS and with release https://github.com/GfellerLab/MixMHCp/archive/v2.1.tar.gz

./MixMHCp -i test/test.txt -o test/out -m 3 && rm -rf test/out

Processing input files...
Running MixMHCp...
Generating logos with ggseqlogo...
Registered S3 methods overwritten by 'ggplot2':
method from
[.quosures rlang
c.quosures rlang
print.quosures rlang
Error in file(filename, "r", encoding = encoding) :
cannot open the connection
Calls: source -> file
In addition: Warning message:
In file(filename, "r", encoding = encoding) :
cannot open file '/home/biodocker/bin/MixMHCp-2.1/lib/R/ggseqlogo.R': No such file or directory
Execution halted
Generating HTML tables document...
Done

R look for .R file but files are named .r

Suggest to upper case the file extension to fix the issue.

@msolleder
Copy link
Contributor

We tested MixMHCp on Ubuntu 18.04 with ./MixMHCp -i test/test.txt -o test/out -m 3 and had no issues.

From what we understand from your error given above, line 26 in "calling-ggseqlogoMOD.r" caused the issue. Our original code is source(paste(pathLib, 'R/ggseqlogo.r', sep = '')), however it seems that this was changed in your code into source(paste(pathLib, 'R/ggseqlogo.R', sep = '')) and thereby not finding the files in "MixMHCp-2.1/lib/R/".

@courcelm
Copy link
Author

@msolleder I just reviewed code in https://github.com/GfellerLab/MixMHCp/archive/v2.1.tar.gz. There is different case for the extension of the files and the one found in calling-ggseqlogoMOD.r . Your master branch doesn't have this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants