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

Incorrect indentation in one of the scripts. #7

Open
AngryMaciek opened this issue Oct 10, 2019 · 3 comments
Open

Incorrect indentation in one of the scripts. #7

AngryMaciek opened this issue Oct 10, 2019 · 3 comments
Assignees

Comments

@AngryMaciek
Copy link
Member

My initial problem is that I want to run PAQR with Python3. While I was modifying the syntax in the scripts I noticed a piece of code that did not raise any error while running with Python2, hovewer with Python3 - it does: IndentationError: expected an indented block. I nailed the error down: please take a look at the script deNovo-used-sites-and-usage-inference.single_distal_included.py, lines 1650:1678 in this repository. Tabs are mixed with spaces and I cannot disentangle how the proper indentation should look like.
I have been trying and guessing a few options (with an input that I know that runs through on Python2) but all of them resulted in another error downstream.

@fgypas
Copy link
Member

fgypas commented Oct 10, 2019

Hi @koljaLanger

Can you please take a look on it. When I clone the repo indeed there is an indentation issue with this file.

Thank you in advance

Best
Foivos

@AngryMaciek
Copy link
Member Author

In my case I have resolved the issue with a substitution: 1TAB -> 8SPACES. But I think you should still correct this repository and test run it.
Maciek

@koljaLanger
Copy link
Member

Many thanks for the report!
I updated the script and uploaded a revised version.
Ralf

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