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

Problem specifying root path #1

Open
gavrielm opened this issue May 1, 2020 · 1 comment
Open

Problem specifying root path #1

gavrielm opened this issue May 1, 2020 · 1 comment

Comments

@gavrielm
Copy link

gavrielm commented May 1, 2020

I am not able to specify a custom root path using the "--root_path" option. Each time I try using it, I get the following error message:
there is no such file input_example/sig.feature.1.txt

I looked at the phylo_hmgp.py script and line 1445 shows the following:
filename1 = "input_example/sig.feature.1.txt"

I see similar code for inputting the other data files.

Does this mean that the script is hardcoded to read in the example data files? If so, can this be changed to allow the user to input his/her own data files?

Thank you

@yangymargaret
Copy link
Collaborator

Hi @gavrielm,
Thank you very much for finding this problem. I do apologize for the delay of my reply. I am sorry that the original script did not use 'root_path' correctly. I have updated the code accordingly. The user can input his/her own data files using a specified directory. Please see if the updated code works. Please let me know if there are any other questions. Many thanks!

Best regards!
Yang Yang

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

2 participants