Skip to content

Error in DeviCNV_Example.runningScript.sh #2

Description

@smerella

Dear developers,
I am trying your DeviCNV software. I followed the instruction and I installed all the required R and python dependencies.
Running DeviCNV_Example.runningScript.sh I had the error:

File "./Code_v1.5.1//python.scoreCNV.py", line 263
  FalseIDList.append(ID2)
                        ^
TabError: inconsistent use of tabs and spaces in indentation 

So I opened the python.scoreCNV.py and I changed the tabs in spaces. Then I had a new error

File "./Code_v1.5.1//python.scoreCNV.py", line 300, in <module>
    [scoreStats,outHList,outVList]=readCNVFile(inCNVFileName, delfilterDic, dupfilterDic,scoreStat)
  File "./Code_v1.5.1//python.scoreCNV.py", line 180, in readCNVFile
    for headPos in xrange(len(headList)):
NameError: name 'xrange' is not defined  

And in this case I solved the problem adding this import:
from past.builtins import xrange
And now it works :)
I hope this will be helpfull for other users :)

Thanks!!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions